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]
11 [ ! -e /run/container_type ] || { stop; exit 0; }
14 exec /usr/bin/lxcfs /var/lib/lxcfs
17 [ -e /run/container_type ] && exit
19 # Cleanup in case of crash
20 fusermount -u /var/lib/lxcfs 2> /dev/null || true
22 sed -i "/^lxcfs \/var\/lib\/lxcfs fuse.lxcfs/d" /etc/mtab