1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
[Unit] Description=uWSGI Emperor After=syslog.target [Service] ExecStart=/usr/bin/uwsgi --ini /etc/uwsgi/emperor.ini ExecReload=/bin/kill -HUP $MAINPID ExecStop=/bin/kill -INT $MAINPID Restart=always Type=notify NotifyAccess=all KillSignal=SIGQUIT [Install] WantedBy=multi-user.target