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:
commit
33c8439604
9 changed files with 270 additions and 0 deletions
20
scripts/template.service
Normal file
20
scripts/template.service
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue