- place this config in
/etc/systemd/system/supervisord.service
- kill all supervisord processes
sudo systemctl daemon-reload
sudo systemctl enable supervisord
- start with
sudo systemctl start supervisord
if already not started
-
-
Save tzkmx/af20297c50f5e6d2483947348b72adac to your computer and use it in GitHub Desktop.
Systemd unit file for supervisord service
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
[Unit] | |
Description=Supervisor process control system for UNIX | |
Documentation=http://supervisord.org | |
After=network.target | |
[Service] | |
ExecStart=/usr/bin/supervisord -n -c /etc/supervisord.conf | |
ExecStop=/usr/bin/supervisorctl $OPTIONS shutdown | |
ExecReload=/usr/bin/supervisorctl $OPTIONS reload | |
KillMode=process | |
Restart=on-failure | |
RestartSec=20s | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment