Small change to systemd script
This commit is contained in:
parent
aeaca33449
commit
56218557d3
1 changed files with 2 additions and 2 deletions
|
@ -4,10 +4,10 @@ PartOf=tellusagent.service
|
||||||
ReloadPropagatedFrom=tellusagent.service
|
ReloadPropagatedFrom=tellusagent.service
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=forking
|
|
||||||
EnvironmentFile=/opt/TellusAgent/%i.conf
|
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}
|
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/
|
WorkingDirectory=/opt/TellusAgent/
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
|
Loading…
Add table
Reference in a new issue