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.

27 lines
745 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. After=network-online.target ethermint-server.service
  11. #propagates reload
  12. PropagatesReloadTo=ethermint-server.service
  13. ReloadPropagatedFrom=ethermint-server.service
  14. [Service]
  15. Restart=on-failure
  16. User=ethermint
  17. Group=ethermint
  18. PermissionsStartOnly=true
  19. ExecStart=/usr/bin/ethermint --datadir /etc/ethermint
  20. ExecReload=/bin/kill -HUP $MAINPID
  21. KillSignal=SIGTERM
  22. [Install]
  23. WantedBy=multi-user.target ethermint-server.service
  24. Also=ethermint-server.service