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