diff options
Diffstat (limited to 'debian/patches/Enable-the-init-scripts-on-multi-user-runlevels.patch')
-rw-r--r-- | debian/patches/Enable-the-init-scripts-on-multi-user-runlevels.patch | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/debian/patches/Enable-the-init-scripts-on-multi-user-runlevels.patch b/debian/patches/Enable-the-init-scripts-on-multi-user-runlevels.patch new file mode 100644 index 0000000..ac4036a --- /dev/null +++ b/debian/patches/Enable-the-init-scripts-on-multi-user-runlevels.patch @@ -0,0 +1,42 @@ +From: =?utf-8?q?Ferenc_W=C3=A1gner?= <wferi@niif.hu> +Date: Sun, 28 Feb 2016 17:56:16 +0100 +Subject: Enable the init scripts on multi-user runlevels + +Upstream does not find this a good idea (see 5b5acab vs fc11a46 and also +https://github.com/ClusterLabs/pacemaker/pull/656), but Debian runs +installed daemons by default. +--- + daemons/execd/pacemaker_remote.in | 4 ++-- + etc/init.d/pacemaker.in | 4 ++-- + 2 files changed, 4 insertions(+), 4 deletions(-) + +diff --git a/daemons/execd/pacemaker_remote.in b/daemons/execd/pacemaker_remote.in +index f3ba8e8..1e3931f 100644 +--- a/daemons/execd/pacemaker_remote.in ++++ b/daemons/execd/pacemaker_remote.in +@@ -14,8 +14,8 @@ + # Required-Start: $network $remote_fs + # Should-Start: $syslog + # Required-Stop: $network $remote_fs +-# Default-Start: +-# Default-Stop: ++# Default-Start: 2 3 4 5 ++# Default-Stop: 0 1 6 + # Short-Description: Manage the executor for Pacemaker Remote nodes + # Description: Manage the executor for Pacemaker Remote nodes + ### END INIT INFO +diff --git a/etc/init.d/pacemaker.in b/etc/init.d/pacemaker.in +index cd440dc..aeefad6 100644 +--- a/etc/init.d/pacemaker.in ++++ b/etc/init.d/pacemaker.in +@@ -15,8 +15,8 @@ + # Required-Start: $network $remote_fs corosync + # Should-Start: $syslog + # Required-Stop: $network $remote_fs corosync +-# Default-Start: +-# Default-Stop: ++# Default-Start: 2 3 4 5 ++# Default-Stop: 0 1 6 + # Short-Description: Starts and stops Pacemaker Cluster Manager. + # Description: Starts and stops Pacemaker Cluster Manager. + ### END INIT INFO |