[Unit]
|
|
Description=Gaia
|
|
#propagates activation, deactivation and activation fails.
|
|
Requires=network-online.target
|
|
#propagates activation, deactivation, activation fails and stops
|
|
BindTo=gaia-server.service
|
|
#propagates stop and restart (one-way)
|
|
PartOf=gaia-server.service
|
|
#order
|
|
Before=gaia-server.service
|
|
After=network-online.target
|
|
#propagates reload
|
|
PropagatesReloadTo=gaia-server.service
|
|
ReloadPropagatedFrom=gaia-server.service
|
|
|
|
[Service]
|
|
Restart=on-failure
|
|
User=gaia
|
|
Group=gaia
|
|
PermissionsStartOnly=true
|
|
ExecStart=/usr/bin/gaia start --without-tendermint --home=/etc/gaia
|
|
ExecReload=/bin/kill -HUP $MAINPID
|
|
KillSignal=SIGTERM
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|
|
Also=gaia-server.service
|
|
|