1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
[Unit] Description=%i uWSGI app After=syslog.target [Service] ExecStart=/usr/sbin/uwsgi \ --ini /etc/uwsgi.d/%i.ini \ --socket /run/uwsgi/%i.socket User=uwsgi-%i Group=uwsgi Restart=on-failure KillSignal=SIGQUIT Type=notify StandardError=syslog NotifyAccess=all