1
0
Fork 0
mirror of https://github.com/eosswedenorg/antelope-api-healthcheck synced 2026-06-18 05:00:03 +02:00

scripts/template.service: cleanup.

This commit is contained in:
Henrik Hautakoski 2020-03-06 11:29:29 +01:00
parent 5dc55e9ac7
commit 8e8393d560

View file

@ -5,17 +5,8 @@ After=network.target
[Service]
EnvironmentFile=-/etc/{{ PACKAGE_NAME }}/env
Type=simple
# Another Type: forking
#User=nanodano
#WorkingDirectory=/home/nanodano
ExecStart={{ PROGRAM }} $OPTS
Restart=on-failure
# Other restart options: always, on-abort, etc
# The install section is needed to use
# `systemctl enable` to start on boot
# For a user service that you want to enable
# and start automatically, use `default.target`
# For system level services, use `multi-user.target`
[Install]
WantedBy=multi-user.target