Skip to content

Instantly share code, notes, and snippets.

@sirodoht
Created November 1, 2022 19:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sirodoht/f5d539a977c6a372c42e6693aebc7124 to your computer and use it in GitHub Desktop.
Save sirodoht/f5d539a977c6a372c42e6693aebc7124 to your computer and use it in GitHub Desktop.
uWSGI systemd entry for Ubuntu 20.04 — /etc/systemd/system/emperor.uwsgi.service
[Unit]
Description=uWSGI Emperor service
After=syslog.target
[Service]
ExecStart=/usr/local/bin/uwsgi --ini /etc/uwsgi/emperor.ini
Restart=always
KillSignal=SIGQUIT
Type=notify
NotifyAccess=all
RuntimeDirectory=uwsgi
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment