/etc/init/lxcfs.conf is in lxcfs 2.0.0-0ubuntu2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | description "FUSE filesystem for LXC"
author "Stéphane Graber <stgraber@ubuntu.com>"
start on starting lxc or starting lxd or runlevel [2345]
stop on runlevel [06]
respawn
pre-start script
[ ! -e /run/container_type ] || { stop; exit 0; }
end script
exec /usr/bin/lxcfs /var/lib/lxcfs
post-stop script
[ -e /run/container_type ] && exit
# Cleanup in case of crash
fusermount -u /var/lib/lxcfs 2> /dev/null || true
[ -L /etc/mtab ] || \
sed -i "/^lxcfs \/var\/lib\/lxcfs fuse.lxcfs/d" /etc/mtab
end script
|