lxcfs/0002-prestart.patch
zhangsong34 e757619e73 lxcfs: update package
Signed-off-by: zhangsong34 <zhangsong34@huawei.com>
2020-01-17 19:45:26 +08:00

11 lines
322 B
Diff

--- a/config/init/systemd/lxcfs.service
+++ b/config/init/systemd/lxcfs.service
@@ -5,6 +5,7 @@ Before=lxc.service
Documentation=man:lxcfs(1)
[Service]
+ExecStartPre=/usr/local/bin/lxcfs-tools prestart
ExecStart=/usr/bin/lxcfs /var/lib/lxc/lxcfs/
ExecStartPost=/usr/local/bin/lxcfs-tools remount -a
KillMode=process