corosync.service.in 838 B

1234567891011121314151617181920212223242526
  1. [Unit]
  2. Description=Corosync Cluster Engine
  3. Documentation=man:corosync man:corosync.conf man:corosync_overview
  4. ConditionKernelCommandLine=!nocluster
  5. Requires=network-online.target
  6. After=network-online.target
  7. [Service]
  8. ExecStart=@INITWRAPPERSDIR@/corosync start
  9. ExecStop=@INITWRAPPERSDIR@/corosync stop
  10. Type=forking
  11. # The following config is for corosync with enabled watchdog service.
  12. #
  13. # When corosync watchdog service is being enabled and using with
  14. # pacemaker.service, and if you want to exert the watchdog when a
  15. # corosync process is terminated abnormally,
  16. # uncomment the line of the following Restart= and RestartSec=.
  17. #Restart=on-failure
  18. # Specify a period longer than soft_margin as RestartSec.
  19. #RestartSec=70
  20. # rewrite according to environment.
  21. #ExecStartPre=/sbin/modprobe softdog
  22. [Install]
  23. WantedBy=multi-user.target