Skip to content

Instantly share code, notes, and snippets.

@mnorkin
Forked from tonyseek/supervisord.service
Created June 3, 2016 05:55
Show Gist options
  • Save mnorkin/f6f4a3b39c4dce5256e546da7a6772e0 to your computer and use it in GitHub Desktop.
Save mnorkin/f6f4a3b39c4dce5256e546da7a6772e0 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