2012-07-29 22:47:35 +00:00
|
|
|
[Unit]
|
|
|
|
Description=uWSGI Emperor Service
|
|
|
|
After=syslog.target
|
|
|
|
|
|
|
|
[Service]
|
2014-09-16 16:11:15 +00:00
|
|
|
EnvironmentFile=-/etc/sysconfig/uwsgi
|
2012-07-29 22:47:35 +00:00
|
|
|
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
|
2013-10-05 19:18:13 +00:00
|
|
|
ExecReload=/bin/kill -HUP $MAINPID
|
|
|
|
KillSignal=SIGINT
|
2012-07-29 22:47:35 +00:00
|
|
|
Restart=always
|
|
|
|
Type=notify
|
|
|
|
StandardError=syslog
|
|
|
|
NotifyAccess=all
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|