d84e43448d
Upgrage to 8.9.2rc2 for v9 support OBS-URL: https://build.opensuse.org/request/show/287043 OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/drbd-utils?expand=0&rev=7
41 lines
1.2 KiB
Diff
41 lines
1.2 KiB
Diff
Index: drbd-utils-8.9.2rc2+git.faeb645/scripts/drbd
|
|
===================================================================
|
|
--- drbd-utils-8.9.2rc2+git.faeb645.orig/scripts/drbd
|
|
+++ drbd-utils-8.9.2rc2+git.faeb645/scripts/drbd
|
|
@@ -9,14 +9,14 @@
|
|
#
|
|
### BEGIN INIT INFO
|
|
# Provides: drbd
|
|
-# Required-Start: $local_fs $network $syslog
|
|
-# Required-Stop: $local_fs $network $syslog
|
|
+# Required-Start: $remote_fs $network $syslog
|
|
+# Required-Stop: $remote_fs $network $syslog
|
|
# Should-Start: sshd multipathd
|
|
# Should-Stop: sshd multipathd
|
|
-# Default-Start: 2 3 4 5
|
|
+# Default-Start: 2 3 5
|
|
# Default-Stop: 0 1 6
|
|
-# X-Start-Before: heartbeat corosync
|
|
-# X-Stop-After: heartbeat corosync
|
|
+# X-Start-Before: pacemaker corosync
|
|
+# X-Stop-After: pacemaker corosync
|
|
# X-Interactive: true
|
|
# Short-Description: Control drbd resources.
|
|
### END INIT INFO
|
|
@@ -173,7 +173,6 @@ case "$1" in
|
|
done
|
|
done
|
|
|
|
- [ -d /var/lock/subsys ] && touch /var/lock/subsys/drbd # for RedHat
|
|
run_hook start_before-wait
|
|
$DRBDADM wait-con-int # User interruptible version of wait-connect all
|
|
run_hook start
|
|
@@ -226,7 +225,6 @@ case "$1" in
|
|
fi
|
|
done
|
|
run_hook stop
|
|
- [ -f /var/lock/subsys/drbd ] && rm /var/lock/subsys/drbd
|
|
log_end_msg 0
|
|
;;
|
|
status)
|