summaryrefslogtreecommitdiffstats
path: root/recipes-containers/lxcfs/files/systemd-ensure-var-lib-lxcfs-exists.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-containers/lxcfs/files/systemd-ensure-var-lib-lxcfs-exists.patch')
-rw-r--r--recipes-containers/lxcfs/files/systemd-ensure-var-lib-lxcfs-exists.patch15
1 files changed, 6 insertions, 9 deletions
diff --git a/recipes-containers/lxcfs/files/systemd-ensure-var-lib-lxcfs-exists.patch b/recipes-containers/lxcfs/files/systemd-ensure-var-lib-lxcfs-exists.patch
index 5e5673ac..e8af4a0a 100644
--- a/recipes-containers/lxcfs/files/systemd-ensure-var-lib-lxcfs-exists.patch
+++ b/recipes-containers/lxcfs/files/systemd-ensure-var-lib-lxcfs-exists.patch
@@ -10,18 +10,15 @@ Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
10 config/init/systemd/lxcfs.service | 1 + 10 config/init/systemd/lxcfs.service | 1 +
11 1 file changed, 1 insertion(+) 11 1 file changed, 1 insertion(+)
12 12
13diff --git a/config/init/systemd/lxcfs.service b/config/init/systemd/lxcfs.service 13Index: lxcfs-4.0.7/config/init/systemd/lxcfs.service
14index 95e3ee9..d887203 100644 14===================================================================
15--- a/config/init/systemd/lxcfs.service 15--- lxcfs-4.0.7.orig/config/init/systemd/lxcfs.service
16+++ b/config/init/systemd/lxcfs.service 16+++ lxcfs-4.0.7/config/init/systemd/lxcfs.service
17@@ -5,6 +5,7 @@ Before=lxc.service 17@@ -5,6 +5,7 @@
18 Documentation=man:lxcfs(1) 18 Documentation=man:lxcfs(1)
19 19
20 [Service] 20 [Service]
21+ExecStartPre=-/bin/mkdir /var/lib/lxcfs 21+ExecStartPre=-/bin/mkdir /var/lib/lxcfs
22 ExecStart=/usr/bin/lxcfs /var/lib/lxcfs/ 22 ExecStart=/usr/bin/lxcfs /usr/local/var/lib/lxcfs
23 KillMode=process 23 KillMode=process
24 Restart=on-failure 24 Restart=on-failure
25--
262.7.4
27