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

scripts/templates/config: prefix OPTS variable so it wont collide so easy with other environment variables.

This commit is contained in:
Henrik Hautakoski 2022-08-19 13:51:24 +02:00
parent fd04b3364f
commit 792632d0e5
No known key found for this signature in database
GPG key ID: 608414D93E862CCD
2 changed files with 2 additions and 2 deletions

View file

@ -4,4 +4,4 @@
# Command line flags to pass to {{ PROGRAM_NAME }}
# First is IP to listen to, second is port.
#OPTS="127.0.0.1 1337"
#EOSIO_API_HEALTCHECK_OPTS="127.0.0.1 1337"

View file

@ -5,7 +5,7 @@ After=network.target
[Service]
EnvironmentFile=-/etc/default/{{ PROGRAM_NAME }}
Type=simple
ExecStart={{ PROGRAM }} $OPTS
ExecStart={{ PROGRAM }} $EOSIO_API_HEALTCHECK_OPTS
Restart=on-failure
[Install]