Skip to content

Instantly share code, notes, and snippets.

@tonyseek
Created August 8, 2014 07:11
Show Gist options
  • Star 22 You must be signed in to star a gist
  • Fork 15 You must be signed in to fork a gist
  • Save tonyseek/ddc7e3a89f0d78e685d6 to your computer and use it in GitHub Desktop.
Save tonyseek/ddc7e3a89f0d78e685d6 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
@mrx23dot
Copy link

Clever! You might want to add partition attached into After=

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment