Removed trackomatron, updated config to tendermint 0.16 (config dir) and changed services to in-process

This commit is contained in:
Greg Szabo
2018-02-19 19:38:29 -05:00
parent 9bd1f28b8d
commit 1eb7a8a2cc
24 changed files with 216 additions and 268 deletions

View File

@@ -1,3 +1,2 @@
disable ethermint.service
disable ethermint-server.service

View File

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

View File

@@ -1,16 +1,7 @@
[Unit]
Description=Ethermint
#propagates activation, deactivation and activation fails.
Requires=network-online.target
#propagates activation, deactivation, activation fails and stops
BindTo=ethermint-server.service
#propagates stop and restart (one-way)
PartOf=ethermint-server.service
#order
After=network-online.target ethermint-server.service
#propagates reload
PropagatesReloadTo=ethermint-server.service
ReloadPropagatedFrom=ethermint-server.service
After=network-online.target
[Service]
Restart=on-failure
@@ -22,6 +13,5 @@ ExecReload=/bin/kill -HUP $MAINPID
KillSignal=SIGTERM
[Install]
WantedBy=multi-user.target ethermint-server.service
Also=ethermint-server.service
WantedBy=multi-user.target