1 description "FUSE filesystem for LXC"
2 author "Stéphane Graber <stgraber@ubuntu.com>"
4 start on starting lxc or starting lxd or runlevel [2345]
10 [ ! -e /run/container_type ] || { stop; exit 0; }
13 exec /usr/bin/lxcfs /var/lib/lxcfs
16 [ -e /run/container_type ] && exit
18 # Cleanup in case of crash
19 fusermount -u /var/lib/lxcfs 2> /dev/null || true
21 sed -i "/^lxcfs \/var\/lib\/lxcfs fuse.lxcfs/d" /etc/mtab