[Unit]
|
|
Description=Trackomatron server
|
|
Requires=network-online.target
|
|
BindTo=trackomatron.service
|
|
PartOf=trackomatron.service
|
|
Before=trackomatron.service
|
|
After=network-online.target
|
|
PropagatesReloadTo=trackomatron.service
|
|
ReloadPropagatedFrom=trackomatron.service
|
|
|
|
[Service]
|
|
Environment="TMHOME=/etc/trackomatron"
|
|
Restart=on-failure
|
|
User=trackomatron
|
|
Group=trackomatron
|
|
PermissionsStartOnly=true
|
|
ExecStart=/usr/bin/tendermint node
|
|
ExecReload=/bin/kill -HUP $MAINPID
|
|
KillSignal=SIGTERM
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|
|
Also=trackomatron.service
|
|
|