|
|
- [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
- After=network-online.target basecoin-server.service
- #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 basecoin-server.service
- Also=basecoin-server.service
-
|