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