Adds supervisord.service for systemd configuration

This commit is contained in:
Patrick McDonagh
2017-03-10 17:25:32 -06:00
parent 072974c8c5
commit 2354026fdf

15
supervisord.service Normal file
View File

@@ -0,0 +1,15 @@
[Unit]
Description=Supervisor process control system for UNIX
Documentation=http://supervisord.org
After=network.target
[Service]
ExecStart=/usr/local/bin/supervisord -n -c /root/POC-Java-www/pocwww/supervisor.conf
ExecStop=/usr/local/bin/supervisorctl $OPTIONS shutdown
ExecReload=/usr/local/bin/supervisorctl $OPTIONS reload
KillMode=process
Restart=on-failure
RestartSec=50s
[Install]
WantedBy=multi-user.target