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

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