Added systemd generators for tellus
This commit is contained in:
parent
fea8c89343
commit
2cb0dd36d3
4 changed files with 57 additions and 3 deletions
14
systemd/tellusagent@.service
Normal file
14
systemd/tellusagent@.service
Normal file
|
@ -0,0 +1,14 @@
|
|||
[Unit]
|
||||
Description=TellusAgent for %i
|
||||
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
|
||||
WorkingDirectory=/opt/TellusAgent/
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Loading…
Add table
Add a link
Reference in a new issue