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=Trackomatron server
Requires=network-online.target
BindTo=trackomatron.service
PartOf=trackomatron.service
After=network-online.target trackomatron.service
Before=trackomatron.service
After=network-online.target
PropagatesReloadTo=trackomatron.service
ReloadPropagatedFrom=trackomatron.service
@ -18,6 +19,6 @@ ExecReload=/bin/kill -HUP $MAINPID
KillSignal=SIGTERM
[Install]
WantedBy=multi-user.target trackomatron.service
WantedBy=multi-user.target
Also=trackomatron.service

View File

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