corosync/bnc#872651-stop-cluster.patch

13 lines
439 B
Diff

Index: corosync-2.3.3/init/corosync.service.in
===================================================================
--- corosync-2.3.3.orig/init/corosync.service.in
+++ corosync-2.3.3/init/corosync.service.in
@@ -3,6 +3,7 @@ Description=Corosync Cluster Engine
ConditionKernelCommandLine=!nocluster
Requires=network-online.target
After=network-online.target
+StopWhenUnneeded=yes
[Service]
ExecStart=@INITWRAPPERSDIR@/corosync start