Switched service startup dependencies, removed old basecoin build

This commit is contained in:
Greg Szabo
2017-10-04 02:32:19 -04:00
parent e105b10fc8
commit a0d21cef7d
13 changed files with 33 additions and 35 deletions

View File

@ -3,7 +3,8 @@ Description=Ethermint server
Requires=network-online.target
BindTo=ethermint.service
PartOf=ethermint.service
After=network-online.target ethermint.service
Before=ethermint.service
After=network-online.target
PropagatesReloadTo=ethermint.service
ReloadPropagatedFrom=ethermint.service

View File

@ -7,8 +7,7 @@ BindTo=ethermint-server.service
#propagates stop and restart (one-way)
PartOf=ethermint-server.service
#order
Before=ethermint-server.service
After=network-online.target
After=network-online.target ethermint-server.service
#propagates reload
PropagatesReloadTo=ethermint-server.service
ReloadPropagatedFrom=ethermint-server.service
@ -23,6 +22,6 @@ ExecReload=/bin/kill -HUP $MAINPID
KillSignal=SIGTERM
[Install]
WantedBy=multi-user.target
WantedBy=multi-user.target ethermint-server.service
Also=ethermint-server.service