2019-11-06 19:42:23 +08:00
|
|
|
diff --git a/config/init/systemd/lxcfs.service b/config/init/systemd/lxcfs.service
|
|
|
|
|
index 534907d..3f104ad 100644
|
|
|
|
|
--- a/config/init/systemd/lxcfs.service
|
|
|
|
|
+++ b/config/init/systemd/lxcfs.service
|
|
|
|
|
@@ -10,6 +10,7 @@ ExecStart=/usr/bin/lxcfs /var/lib/lxc/lxcfs/
|
2020-01-17 19:45:00 +08:00
|
|
|
ExecStartPost=/usr/local/bin/lxcfs-tools remount -a
|
2019-11-06 19:42:23 +08:00
|
|
|
KillMode=process
|
|
|
|
|
Restart=on-failure
|
2020-01-17 19:45:00 +08:00
|
|
|
+ExecStop=/usr/local/bin/lxcfs-tools umount -a
|
2019-11-06 19:42:23 +08:00
|
|
|
ExecStopPost=-/bin/fusermount -u /var/lib/lxc/
|
|
|
|
|
Delegate=yes
|