Skip to content

Instantly share code, notes, and snippets.

@balaa
Forked from tonyseek/supervisord.service
Created May 21, 2019 04:58
Show Gist options
  • Save balaa/3ca2514197b3cdcd6f50d981d26287f3 to your computer and use it in GitHub Desktop.
Save balaa/3ca2514197b3cdcd6f50d981d26287f3 to your computer and use it in GitHub Desktop.
Running supervisord with systemd.
[Unit]
Description=supervisord - Supervisor process control system for UNIX
Documentation=http://supervisord.org
After=network.target
[Service]
Type=forking
ExecStart=/usr/bin/supervisord -c /etc/supervisord.conf
ExecReload=/usr/bin/supervisorctl reload
ExecStop=/usr/bin/supervisorctl shutdown
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment