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.

18 lines
425 B

  1. [Unit]
  2. Description={{service}} server
  3. Requires=network-online.target
  4. After=network-online.target
  5. [Service]
  6. Environment="TMHOME=/etc/{{service}}/tendermint"
  7. Restart=on-failure
  8. User={{service}}
  9. Group={{service}}
  10. PermissionsStartOnly=true
  11. ExecStart=/usr/bin/tendermint node{{(service=='tendermint')|ternary(' --proxy_app=dummy','')}}
  12. ExecReload=/bin/kill -HUP $MAINPID
  13. KillSignal=SIGTERM
  14. [Install]
  15. WantedBy=multi-user.target