summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-fs/lxcfs/files/lxcfs-2.0.1.service')
-rw-r--r--sys-fs/lxcfs/files/lxcfs-2.0.1.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/sys-fs/lxcfs/files/lxcfs-2.0.1.service b/sys-fs/lxcfs/files/lxcfs-2.0.1.service
new file mode 100644
index 00000000000..ff737c7e78c
--- /dev/null
+++ b/sys-fs/lxcfs/files/lxcfs-2.0.1.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=FUSE filesystem for LXC
+ConditionVirtualization=!container
+Before=lxc.service
+
+[Service]
+ExecStart=/usr/bin/lxcfs -f -o allow_other /var/lib/lxcfs
+KillMode=none
+Restart=on-failure
+ExecStop=/usr/bin/fusermount -u /var/lib/lxcfs
+
+[Install]
+WantedBy=multi-user.target