From 2354026fdfbb5fc9f9b0a04f15f8892a227fc30f Mon Sep 17 00:00:00 2001 From: Patrick McDonagh Date: Fri, 10 Mar 2017 17:25:32 -0600 Subject: [PATCH] Adds supervisord.service for systemd configuration --- supervisord.service | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 supervisord.service diff --git a/supervisord.service b/supervisord.service new file mode 100644 index 0000000..41809ef --- /dev/null +++ b/supervisord.service @@ -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