Skip to content

Instantly share code, notes, and snippets.

@saily
Forked from tonyseek/supervisord.service
Last active May 28, 2016 18:51
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 saily/b4c204e260625dd5c8e08cdb07604b9c to your computer and use it in GitHub Desktop.
Save saily/b4c204e260625dd5c8e08cdb07604b9c 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]
ExecStart=${buildout:directory}/bin/supervisord -n
ExecReload=${buildout:directory}/bin/supervisorctl reload
ExecStop=${buildout:directory}/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