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