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

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