You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
# Tendermint (Upstart unit)
|
|
description "Tendermint"
|
|
|
|
start on {{ tendermint_upstart_start_on }}
|
|
stop on {{ tendermint_upstart_stop_on }}
|
|
|
|
script
|
|
# Use su to become tendermint user non-interactively on old Upstart versions (see http://superuser.com/a/234541/76168)
|
|
exec su -s /bin/sh -c 'TMROOT={{tendermint_home}} exec "$0" "$@" > {{ tendermint_log_file }} &2>1' tendermint -- /usr/local/bin/tendermint node \
|
|
--moniker={{inventory_hostname}}
|
|
end script
|
|
|
|
respawn
|
|
respawn limit 10 10
|
|
|
|
kill timeout 10
|