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
+1 -1
View File
@@ -1,5 +1,5 @@
#!/bin/sh
# postinst script for basecoin
# postinst script for ethermint
#
set -e
-1
View File
@@ -19,7 +19,6 @@ set -e
case "$1" in
remove|upgrade|deconfigure)
systemctl stop ethermint 2> /dev/null || :
systemctl stop ethermint-service 2> /dev/null || :
;;
failed-upgrade)
@@ -1,3 +1,2 @@
disable ethermint.service
disable ethermint-server.service
@@ -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
@@ -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