]>
Commit | Line | Data |
---|---|---|
e17b446b | 1 | From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 |
5eb66493 FG |
2 | From: =?UTF-8?q?Fabian=20Gr=C3=BCnbichler?= <f.gruenbichler@proxmox.com> |
3 | Date: Mon, 13 Mar 2017 13:27:49 +0100 | |
e17b446b | 4 | Subject: [PATCH] only start corosync.service if conf exists |
5eb66493 FG |
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 | --- | |
e77cc04e FG |
11 | init/corosync.service.in | 1 + |
12 | 1 file changed, 1 insertion(+) | |
5eb66493 FG |
13 | |
14 | diff --git a/init/corosync.service.in b/init/corosync.service.in | |
e77cc04e | 15 | index 7733a98c..1b65c94b 100644 |
5eb66493 FG |
16 | --- a/init/corosync.service.in |
17 | +++ b/init/corosync.service.in | |
e77cc04e | 18 | @@ -2,6 +2,7 @@ |
5eb66493 | 19 | Description=Corosync Cluster Engine |
e77cc04e | 20 | Documentation=man:corosync man:corosync.conf man:corosync_overview |
5eb66493 FG |
21 | ConditionKernelCommandLine=!nocluster |
22 | +ConditionPathExists=/etc/corosync/corosync.conf | |
23 | Requires=network-online.target | |
24 | After=network-online.target | |
25 |