@ -1,3 +0,0 @@ | |||||
disable basecoin.service | |||||
disable basecoin-server.service | |||||
@ -0,0 +1,3 @@ | |||||
disable cosmos-sdk.service | |||||
disable cosmos-sdk-server.service | |||||
@ -1,23 +0,0 @@ | |||||
[Unit] | |||||
Description=Basecoin server | |||||
Requires=network-online.target | |||||
BindTo=basecoin.service | |||||
PartOf=basecoin.service | |||||
After=network-online.target basecoin.service | |||||
PropagatesReloadTo=basecoin.service | |||||
ReloadPropagatedFrom=basecoin.service | |||||
[Service] | |||||
Environment="TMHOME=/etc/basecoin/tendermint" | |||||
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 basecoin.service | |||||
Also=basecoin.service | |||||
@ -0,0 +1,23 @@ | |||||
[Unit] | |||||
Description=Cosmos SDK Basecoin Tendermint server | |||||
Requires=network-online.target | |||||
BindTo=cosmos-sdk.service | |||||
PartOf=cosmos-sdk.service | |||||
After=network-online.target cosmos-sdk.service | |||||
PropagatesReloadTo=cosmos-sdk.service | |||||
ReloadPropagatedFrom=cosmos-sdk.service | |||||
[Service] | |||||
Environment="TMHOME=/etc/basecoin/tendermint" | |||||
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 cosmos-sdk.service | |||||
Also=cosmos-sdk.service | |||||