Adds supervisord.service for systemd configuration
This commit is contained in:
15
supervisord.service
Normal file
15
supervisord.service
Normal 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
|
||||||
Reference in New Issue
Block a user