Skip to content

Instantly share code, notes, and snippets.

@RoccoHoward
Last active July 24, 2019 07:23
Show Gist options
  • Save RoccoHoward/b3c8ca66721f547d1aeed5ece1823a45 to your computer and use it in GitHub Desktop.
Save RoccoHoward/b3c8ca66721f547d1aeed5ece1823a45 to your computer and use it in GitHub Desktop.
/lib/systemd/system/supervisord
[Unit]
Description=Supervisor daemon
Documentation=http://supervisord.org
After=network.target
[Service]
ExecStart=/usr/local/bin/supervisord -n -c /etc/supervisor/supervisord.conf
ExecStop=/usr/local/bin/supervisorctl $OPTIONS shutdown
ExecReload=/usr/local/bin/supervisorctl $OPTIONS reload
KillMode=process
Restart=on-failure
RestartSec=42s
[Install]
WantedBy=multi-user.target
Alias=supervisord.service
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment