From 56218557d306ca19acb5837eb4e07b4cd9f71cdf Mon Sep 17 00:00:00 2001 From: Rudy Hardeman Date: Sun, 12 Mar 2017 00:21:13 +0100 Subject: [PATCH] Small change to systemd script --- systemd/tellusagent@.service | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/systemd/tellusagent@.service b/systemd/tellusagent@.service index 2810e4e..ab04f2c 100644 --- a/systemd/tellusagent@.service +++ b/systemd/tellusagent@.service @@ -4,10 +4,10 @@ PartOf=tellusagent.service ReloadPropagatedFrom=tellusagent.service [Service] -Type=forking EnvironmentFile=/opt/TellusAgent/%i.conf ExecStart=/opt/TellusAgent/tellusagent --connect-port ${CONNECT_PORT} --control-port ${CONTROL_PORT} --media-port ${MEDIA_PORT} --server-address ${SERVER_ADDRESS} --service-mode ${SERVICE_MODE} -ExecReload=/bin/kill -HUP $MAINPID +Restart=on-abort +Restart=on-failure WorkingDirectory=/opt/TellusAgent/ [Install]