19 lines
583 B
Diff
19 lines
583 B
Diff
|
|
diff --git a/config/init/systemd/lxcfs.service b/config/init/systemd/lxcfs.service
|
||
|
|
index 95e3ee9..0995607 100644
|
||
|
|
--- a/config/init/systemd/lxcfs.service
|
||
|
|
+++ b/config/init/systemd/lxcfs.service
|
||
|
|
@@ -5,10 +5,11 @@ Before=lxc.service
|
||
|
|
Documentation=man:lxcfs(1)
|
||
|
|
|
||
|
|
[Service]
|
||
|
|
-ExecStart=/usr/bin/lxcfs /var/lib/lxcfs/
|
||
|
|
+ExecStart=/usr/bin/lxcfs /var/lib/lxc/lxcfs/
|
||
|
|
+ExecStartPost=/usr/local/bin/isulad-lxcfs-toolkit remount -a
|
||
|
|
KillMode=process
|
||
|
|
Restart=on-failure
|
||
|
|
-ExecStopPost=-/bin/fusermount -u /var/lib/lxcfs
|
||
|
|
+ExecStopPost=-/bin/fusermount -u /var/lib/lxc/
|
||
|
|
Delegate=yes
|
||
|
|
|
||
|
|
[Install]
|