mirror of
https://github.com/eosswedenorg/antelope-api-healthcheck
synced 2026-07-03 11:53:43 +02:00
scripts/template.service: cleanup.
This commit is contained in:
parent
5dc55e9ac7
commit
8e8393d560
1 changed files with 0 additions and 9 deletions
|
|
@ -5,17 +5,8 @@ After=network.target
|
||||||
[Service]
|
[Service]
|
||||||
EnvironmentFile=-/etc/{{ PACKAGE_NAME }}/env
|
EnvironmentFile=-/etc/{{ PACKAGE_NAME }}/env
|
||||||
Type=simple
|
Type=simple
|
||||||
# Another Type: forking
|
|
||||||
#User=nanodano
|
|
||||||
#WorkingDirectory=/home/nanodano
|
|
||||||
ExecStart={{ PROGRAM }} $OPTS
|
ExecStart={{ PROGRAM }} $OPTS
|
||||||
Restart=on-failure
|
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]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue