Skip to content

Instantly share code, notes, and snippets.

@rehannali
Forked from tonyseek/supervisord.service
Last active April 21, 2022 14:54
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 rehannali/1f135c97fd9134375cd73e9e39fa6832 to your computer and use it in GitHub Desktop.
Save rehannali/1f135c97fd9134375cd73e9e39fa6832 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/supervisor/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