Created
August 8, 2014 07:11
-
-
Save tonyseek/ddc7e3a89f0d78e685d6 to your computer and use it in GitHub Desktop.
Running supervisord with systemd.
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=supervisord - Supervisor process control system for UNIX | |
Documentation=http://supervisord.org | |
After=network.target | |
[Service] | |
Type=forking | |
ExecStart=/usr/bin/supervisord -c /etc/supervisord.conf | |
ExecReload=/usr/bin/supervisorctl reload | |
ExecStop=/usr/bin/supervisorctl shutdown | |
[Install] | |
WantedBy=multi-user.target |
Clever! You might want to add partition attached into After=
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I think we need
-n/--nodaemon
flag for nodaemon mode if we dont set it in config file.