You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
771 B

  1. [Unit]
  2. Description=Basecoin
  3. #propagates activation, deactivation and activation fails.
  4. Requires=network-online.target
  5. #propagates activation, deactivation, activation fails and stops
  6. BindTo=basecoin-server.service
  7. #propagates stop and restart (one-way)
  8. PartOf=basecoin-server.service
  9. #order
  10. After=network-online.target basecoin-server.service
  11. #propagates reload
  12. PropagatesReloadTo=basecoin-server.service
  13. ReloadPropagatedFrom=basecoin-server.service
  14. [Service]
  15. Environment="BCHOME=/etc/basecoin"
  16. Restart=on-failure
  17. User=basecoin
  18. Group=basecoin
  19. PermissionsStartOnly=true
  20. ExecStart=/usr/bin/basecoin start --without-tendermint
  21. ExecReload=/bin/kill -HUP $MAINPID
  22. KillSignal=SIGTERM
  23. [Install]
  24. WantedBy=multi-user.target basecoin-server.service
  25. Also=basecoin-server.service