]>
Commit | Line | Data |
---|---|---|
e17b446b | 1 | From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 |
5eb66493 | 2 | From: =?UTF-8?q?Fabian=20Gr=C3=BCnbichler?= <f.gruenbichler@proxmox.com> |
b0b4fac6 | 3 | Date: Wed, 24 Oct 2018 15:15:33 +0200 |
e17b446b | 4 | Subject: [PATCH] only start corosync.service if conf exists |
5eb66493 | 5 | |
5eb66493 | 6 | --- |
b0b4fac6 FG |
7 | ...tart-corosync.service-if-conf-exists.patch | 28 +++++++++++++++++++ |
8 | debian/patches/series | 1 + | |
9 | 2 files changed, 29 insertions(+) | |
10 | create mode 100644 debian/patches/pve__only-start-corosync.service-if-conf-exists.patch | |
5eb66493 | 11 | |
b0b4fac6 FG |
12 | diff --git a/debian/patches/pve__only-start-corosync.service-if-conf-exists.patch b/debian/patches/pve__only-start-corosync.service-if-conf-exists.patch |
13 | new file mode 100644 | |
14 | index 00000000..18afb84e | |
15 | --- /dev/null | |
16 | +++ b/debian/patches/pve__only-start-corosync.service-if-conf-exists.patch | |
17 | @@ -0,0 +1,28 @@ | |
18 | +From 306692e2627b0fe072bfae21ddb5d501189c57c5 Mon Sep 17 00:00:00 2001 | |
19 | +From: =?UTF-8?q?Fabian=20Gr=C3=BCnbichler?= <f.gruenbichler@proxmox.com> | |
20 | +Date: Mon, 13 Mar 2017 13:27:49 +0100 | |
21 | +Subject: [PATCH] only start corosync.service if conf exists | |
22 | +MIME-Version: 1.0 | |
23 | +Content-Type: text/plain; charset=UTF-8 | |
24 | +Content-Transfer-Encoding: 8bit | |
25 | + | |
26 | +Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com> | |
27 | +--- | |
28 | + init/corosync.service.in | 1 + | |
29 | + 1 file changed, 1 insertion(+) | |
30 | + | |
31 | +diff --git a/init/corosync.service.in b/init/corosync.service.in | |
32 | +index 7733a98c..1b65c94b 100644 | |
33 | +--- a/init/corosync.service.in | |
34 | ++++ b/init/corosync.service.in | |
35 | +@@ -2,6 +2,7 @@ | |
36 | + Description=Corosync Cluster Engine | |
37 | + Documentation=man:corosync man:corosync.conf man:corosync_overview | |
38 | + ConditionKernelCommandLine=!nocluster | |
39 | ++ConditionPathExists=/etc/corosync/corosync.conf | |
40 | + Requires=network-online.target | |
41 | + After=network-online.target | |
42 | + | |
43 | +-- | |
44 | +2.19.1 | |
45 | + | |
46 | diff --git a/debian/patches/series b/debian/patches/series | |
47 | index de0e277d..78b44c78 100644 | |
48 | --- a/debian/patches/series | |
49 | +++ b/debian/patches/series | |
50 | @@ -16,3 +16,4 @@ Fix-typo-sucesfully-successfully.patch | |
51 | qnetd-stay-with-the-DBM-NSS-DB-format.patch | |
52 | Fix-typo-defualt-default.patch | |
53 | Please-make-the-manpages-reproducible.patch | |
54 | +pve__only-start-corosync.service-if-conf-exists.patch |