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
727 B

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