Skip to content

Instantly share code, notes, and snippets.

@vicendominguez
Forked from tonyseek/supervisord.service
Last active May 18, 2017 17:30
Show Gist options
  • Save vicendominguez/0da525e8870198652f63 to your computer and use it in GitHub Desktop.
Save vicendominguez/0da525e8870198652f63 to your computer and use it in GitHub Desktop.
systemd service with personal path to the supervisord config
[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.d/supervisord.conf
ExecReload=/usr/bin/supervisorctl reload
ExecStop=/usr/bin/supervisorctl shutdown
User=nginx
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment