Skip to content

Instantly share code, notes, and snippets.

@ivoscc
Created February 25, 2013 14:49
Show Gist options
  • Save ivoscc/5030284 to your computer and use it in GitHub Desktop.
Save ivoscc/5030284 to your computer and use it in GitHub Desktop.
uwsgi.service para gestionar con systemd. Copiar a /usr/lib/systemd/system/uwsgi.service Habilitar con systemctl enable uwsgi.service
[Unit]
Description=uWSGI in Emperor mode
After=syslog.target
[Service]
ExecStart = /usr/bin/uwsgi --ini /etc/uwsgi/emperor.ini
KillSignal=SIGINT
ExecReload=/bin/kill -HUP $MAINPID
Restart = always
Type = notify
NotifyAccess = main
PIDFile = /run/uwsgi.pid
NotifyAccess=all
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment