]> git.proxmox.com Git - corosync-pve.git/blob - patches/0007-only-start-corosync.service-if-conf-exists.patch
rebase and re-format patches
[corosync-pve.git] / patches / 0007-only-start-corosync.service-if-conf-exists.patch
1 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
2 From: =?UTF-8?q?Fabian=20Gr=C3=BCnbichler?= <f.gruenbichler@proxmox.com>
3 Date: Mon, 13 Mar 2017 13:27:49 +0100
4 Subject: [PATCH] only start corosync.service if conf exists
5 MIME-Version: 1.0
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
8
9 Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
10 ---
11 init/corosync.service.in | 1 +
12 1 file changed, 1 insertion(+)
13
14 diff --git a/init/corosync.service.in b/init/corosync.service.in
15 index 7733a98c..1b65c94b 100644
16 --- a/init/corosync.service.in
17 +++ b/init/corosync.service.in
18 @@ -2,6 +2,7 @@
19 Description=Corosync Cluster Engine
20 Documentation=man:corosync man:corosync.conf man:corosync_overview
21 ConditionKernelCommandLine=!nocluster
22 +ConditionPathExists=/etc/corosync/corosync.conf
23 Requires=network-online.target
24 After=network-online.target
25