mirror of
https://github.com/eosswedenorg/antelope-api-healthcheck
synced 2026-07-02 11:43:42 +02:00
scripts/templates/config: prefix OPTS variable so it wont collide so easy with other environment variables.
This commit is contained in:
parent
fd04b3364f
commit
792632d0e5
2 changed files with 2 additions and 2 deletions
|
|
@ -4,4 +4,4 @@
|
||||||
|
|
||||||
# Command line flags to pass to {{ PROGRAM_NAME }}
|
# Command line flags to pass to {{ PROGRAM_NAME }}
|
||||||
# First is IP to listen to, second is port.
|
# First is IP to listen to, second is port.
|
||||||
#OPTS="127.0.0.1 1337"
|
#EOSIO_API_HEALTCHECK_OPTS="127.0.0.1 1337"
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@ After=network.target
|
||||||
[Service]
|
[Service]
|
||||||
EnvironmentFile=-/etc/default/{{ PROGRAM_NAME }}
|
EnvironmentFile=-/etc/default/{{ PROGRAM_NAME }}
|
||||||
Type=simple
|
Type=simple
|
||||||
ExecStart={{ PROGRAM }} $OPTS
|
ExecStart={{ PROGRAM }} $EOSIO_API_HEALTCHECK_OPTS
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue