uwsgi/uwsgi.service

19 lines
381 B
SYSTEMD
Raw Normal View History

[Unit]
Description=uWSGI Emperor Service
After=syslog.target
[Service]
ExecStartPre=/bin/mkdir -p /run/uwsgi
ExecStartPre=/bin/chown uwsgi:uwsgi /run/uwsgi
2012-12-27 02:27:53 +00:00
ExecStart=/usr/sbin/uwsgi --ini /etc/uwsgi.ini
SuccessExitStatus=30
ExecReload=/bin/kill -HUP $MAINPID
KillSignal=SIGINT
Restart=always
Type=notify
StandardError=syslog
NotifyAccess=all
[Install]
WantedBy=multi-user.target