[Unit]
|
|
Description={{service}} server
|
|
Requires=network-online.target
|
|
After=network-online.target
|
|
|
|
[Service]
|
|
Environment="TMHOME=/etc/{{service}}/tendermint"
|
|
Restart=on-failure
|
|
User={{service}}
|
|
Group={{service}}
|
|
PermissionsStartOnly=true
|
|
ExecStart=/usr/bin/tendermint node{{(service=='tendermint')|ternary(' --proxy_app=dummy','')}}
|
|
ExecReload=/bin/kill -HUP $MAINPID
|
|
KillSignal=SIGTERM
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|
|
|