diff --git a/init/corosync-notifyd.service.in b/init/corosync-notifyd.service.in index ce576fe9..689ab8ea 100644 --- a/init/corosync-notifyd.service.in +++ b/init/corosync-notifyd.service.in @@ -1,13 +1,14 @@ [Unit] Description=Corosync Dbus and snmp notifier +Documentation=man:corosync-notifyd Wants=corosync.service After=corosync.service [Service] EnvironmentFile=@SYSCONFDIR@/sysconfig/corosync-notifyd ExecStart=@SBINDIR@/corosync-notifyd -f $OPTIONS Type=simple Restart=on-failure [Install] WantedBy=multi-user.target diff --git a/init/corosync-qdevice.service.in b/init/corosync-qdevice.service.in index 54bec693..8de4e5b7 100644 --- a/init/corosync-qdevice.service.in +++ b/init/corosync-qdevice.service.in @@ -1,13 +1,14 @@ [Unit] Description=Corosync Qdevice daemon +Documentation=man:corosync-qdevice ConditionKernelCommandLine=!nocluster Wants=corosync.service After=corosync.service [Service] ExecStart=@INITWRAPPERSDIR@/corosync-qdevice start ExecStop=@INITWRAPPERSDIR@/corosync-qdevice stop Type=forking [Install] WantedBy=multi-user.target diff --git a/init/corosync-qnetd.service.in b/init/corosync-qnetd.service.in index 83749108..c6cf8c99 100644 --- a/init/corosync-qnetd.service.in +++ b/init/corosync-qnetd.service.in @@ -1,16 +1,17 @@ [Unit] Description=Corosync Qdevice Network daemon +Documentation=man:corosync-qnetd ConditionKernelCommandLine=!nocluster Requires=network-online.target After=network-online.target [Service] EnvironmentFile=@SYSCONFDIR@/sysconfig/corosync-qnetd ExecStart=@BINDIR@/corosync-qnetd -f $COROSYNC_QNETD_OPTIONS Type=simple Restart=on-abnormal # Uncomment and set user who should be used for executing qnetd #User=coroqnetd [Install] WantedBy=multi-user.target diff --git a/init/corosync.service.in b/init/corosync.service.in index 03470fc5..7733a98c 100644 --- a/init/corosync.service.in +++ b/init/corosync.service.in @@ -1,25 +1,26 @@ [Unit] Description=Corosync Cluster Engine +Documentation=man:corosync man:corosync.conf man:corosync_overview ConditionKernelCommandLine=!nocluster Requires=network-online.target After=network-online.target [Service] ExecStart=@INITWRAPPERSDIR@/corosync start ExecStop=@INITWRAPPERSDIR@/corosync stop Type=forking # The following config is for corosync with enabled watchdog service. # # When corosync watchdog service is being enabled and using with # pacemaker.service, and if you want to exert the watchdog when a # corosync process is terminated abnormally, # uncomment the line of the following Restart= and RestartSec=. #Restart=on-failure # Specify a period longer than soft_margin as RestartSec. #RestartSec=70 # rewrite according to environment. #ExecStartPre=/sbin/modprobe softdog [Install] WantedBy=multi-user.target