mirror of
https://github.com/eosswedenorg/antelope-api-healthcheck
synced 2026-06-17 04:50:02 +02:00
21 lines
555 B
Desktop File
21 lines
555 B
Desktop File
[Unit]
|
|
Description={{ DESCRIPTION }}
|
|
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
|