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.
---
 lrmd/pacemaker_remote.in | 4 ++--
 mcp/pacemaker.in         | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/lrmd/pacemaker_remote.in b/lrmd/pacemaker_remote.in
index a43107c..d0277be 100644
--- a/lrmd/pacemaker_remote.in
+++ b/lrmd/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:	Starts and stops the Pacemaker remote agent for non-cluster nodes
 # Description:		Starts and stops the Pacemaker remote agent for non-cluster nodes
 ### END INIT INFO
diff --git a/mcp/pacemaker.in b/mcp/pacemaker.in
index 7faff4c..215edfd 100644
--- a/mcp/pacemaker.in
+++ b/mcp/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
