-
-
Save oucb/2fc45ec3519a43daf6f1576dc365d26a to your computer and use it in GitHub Desktop.
Revisions
-
mozillazg revised this gist
Jan 13, 2016 . No changes.There are no files selected for viewing
-
mozillazg revised this gist
Jan 9, 2016 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,14 +1,14 @@ 1. install: `pip install supervisor` 2. configure: 1. `mkdir -p /etc/supervisord/conf.d` 2. `echo_supervisord_conf > /etc/supervisord/supervisord.conf` 3. `echo "files = conf.d/*.conf" >> /etc/supervisord/supervisord.conf` 3. setup as service: `wget supervisord.service -O /usr/lib/systemd/system/supervisord.service` 4. start service `systemctl start supervisord` 5. view service status: `systemctl status supervisord` 6. auto start service on system startup: `systemctl enable supervisord` -
mozillazg revised this gist
Jan 9, 2016 . 1 changed file with 11 additions and 7 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,10 +1,14 @@ 1. install: `pip install supervisor` 2. configure: 1. `mkdir -d /etc/supervisord/conf.d` 2. `echo_supervisord_conf > /etc/supervisord/supervisord.conf` 3. `echo "files = conf.d/*.conf" >> /etc/supervisord/supervisord.conf` 3. setup as service: `wget supervisord.service -O /usr/lib/systemd/system/supervisord.service` 4. start service `systemctl start supervisord` 5. view sevice status: `systemctl status supervisord` 6. auto start service on system startup: `systemctl enable supervisord` -
mozillazg revised this gist
Jan 9, 2016 . 2 changed files with 14 additions and 4 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -5,10 +5,10 @@ After=network.target [Service] Type=forking ExecStart=/bin/supervisord -c /etc/supervisord/supervisord.conf ExecReload=/bin/supervisorctl reload ExecStop=/bin/supervisorctl shutdown User=root [Install] WantedBy=multi-user.target 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,10 @@ 1. install: `pip install supervisor` 2. configure: `mkdir -d /etc/supervisord/conf.d` `echo_supervisord_conf > /etc/supervisord/supervisord.conf` `echo "files = conf.d/*.conf" >> /etc/supervisord/supervisord.conf` 5. setup as service: `wget supervisord.service -O /usr/lib/systemd/system/supervisord.service` 6. start service: `systemctl start supervisord` 7. view sevice status: `systemctl status supervisord` 8. auto start service on system startup: `systemctl enable supervisord` -
mozillazg revised this gist
Jan 9, 2016 . 1 changed file with 2 additions and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -5,9 +5,10 @@ After=network.target [Service] Type=forking ExecStart=/usr/bin/supervisord -c /etc/supervisord/supervisord.conf ExecReload=/usr/bin/supervisorctl reload ExecStop=/usr/bin/supervisorctl shutdown User=noboby [Install] WantedBy=multi-user.target -
tonyseek created this gist
Aug 8, 2014 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,13 @@ [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