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.

29 lines
754 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. Before=basecoin-server.service
  11. After=network-online.target
  12. #propagates reload
  13. PropagatesReloadTo=basecoin-server.service
  14. ReloadPropagatedFrom=basecoin-server.service
  15. [Service]
  16. Environment="BCHOME=/etc/basecoin"
  17. Restart=on-failure
  18. User=basecoin
  19. Group=basecoin
  20. PermissionsStartOnly=true
  21. ExecStart=/usr/bin/basecoin start --without-tendermint
  22. ExecReload=/bin/kill -HUP $MAINPID
  23. KillSignal=SIGTERM
  24. [Install]
  25. WantedBy=multi-user.target
  26. Also=basecoin-server.service