diff options
Diffstat (limited to 'meta-networking/recipes-support/ctdb/ctdb')
-rw-r--r-- | meta-networking/recipes-support/ctdb/ctdb/service-ensure-the-PID-directory-is-created.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/meta-networking/recipes-support/ctdb/ctdb/service-ensure-the-PID-directory-is-created.patch b/meta-networking/recipes-support/ctdb/ctdb/service-ensure-the-PID-directory-is-created.patch new file mode 100644 index 000000000..a7e987b85 --- /dev/null +++ b/meta-networking/recipes-support/ctdb/ctdb/service-ensure-the-PID-directory-is-created.patch | |||
@@ -0,0 +1,25 @@ | |||
1 | From f02ff7383f1cc0c118732352ccbae476c7b3b3ba Mon Sep 17 00:00:00 2001 | ||
2 | From: Mark Asselstine <mark.asselstine@windriver.com> | ||
3 | Date: Tue, 17 Nov 2015 16:17:00 -0500 | ||
4 | Subject: [PATCH] service: ensure the PID directory is created | ||
5 | |||
6 | Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> | ||
7 | --- | ||
8 | config/ctdb.service | 1 + | ||
9 | 1 file changed, 1 insertion(+) | ||
10 | |||
11 | diff --git a/config/ctdb.service b/config/ctdb.service | ||
12 | index ea37c30..8537105 100644 | ||
13 | --- a/config/ctdb.service | ||
14 | +++ b/config/ctdb.service | ||
15 | @@ -5,6 +5,7 @@ After=network.target | ||
16 | [Service] | ||
17 | Type=forking | ||
18 | LimitCORE=infinity | ||
19 | +RuntimeDirectory=/run/ctdb | ||
20 | PIDFile=/run/ctdb/ctdbd.pid | ||
21 | ExecStart=/usr/sbin/ctdbd_wrapper /run/ctdb/ctdbd.pid start | ||
22 | ExecStop=/usr/sbin/ctdbd_wrapper /run/ctdb/ctdbd.pid stop | ||
23 | -- | ||
24 | 2.1.4 | ||
25 | |||