Created
July 24, 2015 20:32
-
-
Save ivandeex/2a1ad64ad27dedff2b8c 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
# supervisord service for sysstemd (CentOS 7.0+) | |
# by ET-CS (https://github.com/ET-CS) | |
[Unit] | |
Description=Supervisor daemon | |
[Exec] | |
User=vanko | |
WorkDir=/home/vanko | |
[Service] | |
ExecStart=/usr/bin/supervisord | |
ExecStop=/usr/bin/supervisorctl $OPTIONS shutdown | |
ExecReload=/usr/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