Created
May 14, 2016 13:48
-
-
Save eeertekin/c520a53cb1f19a2d6a54454be560ee5d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## /lib/systemd/system/supervisord.service | |
## systemctl enable supervisord.service | |
## systemctl start supervisord.service | |
[Unit] | |
Description=Supervisor process control system for UNIX | |
Documentation=http://supervisord.org | |
After=network.target | |
[Service] | |
ExecStart=/usr/bin/supervisord -n -c /etc/supervisor/supervisord.conf | |
ExecStop=/usr/bin/supervisorctl $OPTIONS shutdown | |
ExecReload=/usr/bin/supervisorctl $OPTIONS reload | |
KillMode=process | |
Restart=on-failure | |
RestartSec=50s | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment