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.

17 lines
407 B

  1. [Unit]
  2. Description=Tendermint
  3. Requires=network-online.target
  4. After=network-online.target
  5. [Service]
  6. Environment="TMROOT={{tendermint_home}}"
  7. Restart=on-failure
  8. User={{ tendermint_user }}
  9. Group={{ tendermint_group }}
  10. PermissionsStartOnly=true
  11. ExecStart=/usr/local/bin/tendermint node --moniker={{inventory_hostname}}
  12. ExecReload=/bin/kill -HUP $MAINPID
  13. KillSignal=SIGINT
  14. [Install]
  15. WantedBy=multi-user.target