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 (runlevel [2345] and started basecoin)
|
|
stop on (runlevel [!2345] and stopping basecoin)
|
|
|
|
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 'TMHOME={{tendermint_home}} exec "$0" "$@" >> {{ tendermint_log_file }} 2>&1' {{ tendermint_user }} -- /usr/local/bin/tendermint node
|
|
end script
|
|
|
|
respawn
|
|
respawn limit 10 10
|
|
|
|
kill timeout 10
|