1
0
Fork 0
mirror of https://github.com/eosswedenorg/antelope-api-healthcheck synced 2026-08-23 20:18:14 +02:00

Initial commit

This commit is contained in:
Henrik Hautakoski 2020-02-03 13:24:34 +01:00
commit 33c8439604
9 changed files with 270 additions and 0 deletions

20
scripts/template.service Normal file
View file

@ -0,0 +1,20 @@
[Unit]
Description={{ DESCRIPTION }}
After=network.target
[Service]
Type=simple
# Another Type: forking
#User=nanodano
#WorkingDirectory=/home/nanodano
ExecStart={{ PROGRAM }}
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