Last active
May 27, 2018 23:31
-
-
Save macta/9454c78f2d78a5fc2b41a38834ed03dc to your computer and use it in GitHub Desktop.
This file contains 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
[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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Copy this control file into /etc/systemd/system