Skip to content

Instantly share code, notes, and snippets.

@oucb
Forked from mozillazg/supervisord.service
Created November 14, 2018 03:24
Show Gist options
  • Save oucb/2fc45ec3519a43daf6f1576dc365d26a to your computer and use it in GitHub Desktop.
Save oucb/2fc45ec3519a43daf6f1576dc365d26a to your computer and use it in GitHub Desktop.
install and configure supervisord on centos 7.
[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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment