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:
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 }}
|
||||
# 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]
|
||||
EnvironmentFile=-/etc/default/{{ PROGRAM_NAME }}
|
||||
Type=simple
|
||||
ExecStart={{ PROGRAM }} $OPTS
|
||||
ExecStart={{ PROGRAM }} $EOSIO_API_HEALTCHECK_OPTS
|
||||
Restart=on-failure
|
||||
|
||||
[Install]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue