summaryrefslogtreecommitdiffstats
path: root/debian/patches/Enable-the-init-scripts-on-multi-user-runlevels.patch
blob: ac4036a71db714c73a1bb078cdf1a14af4ed0cd9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
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