diff options
author | Joonas Niilola <juippis@gentoo.org> | 2020-06-21 19:48:03 +0300 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2020-06-21 20:02:08 +0300 |
commit | 019d6bc22c11aa9bb41510b920d579feb2c48316 (patch) | |
tree | e0cd16c39b551df7bfee3985f7be8fca537c51c1 /sys-fs/lxcfs/files | |
parent | dev-ruby/rake-compiler: arm stable wrt bug #728194 (diff) | |
download | gentoo-019d6bc22c11aa9bb41510b920d579feb2c48316.tar.gz gentoo-019d6bc22c11aa9bb41510b920d579feb2c48316.tar.bz2 gentoo-019d6bc22c11aa9bb41510b920d579feb2c48316.zip |
sys-fs/lxcfs: update fusermount path to systemd service file, #728470
Closes: https://bugs.gentoo.org/728470
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'sys-fs/lxcfs/files')
-rw-r--r-- | sys-fs/lxcfs/files/lxcfs.service | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/sys-fs/lxcfs/files/lxcfs.service b/sys-fs/lxcfs/files/lxcfs.service new file mode 100644 index 000000000000..aea0d6d920fc --- /dev/null +++ b/sys-fs/lxcfs/files/lxcfs.service @@ -0,0 +1,16 @@ +[Unit] +Description=FUSE filesystem for LXC +ConditionVirtualization=!container +Before=lxc.service +Documentation=man:lxcfs(1) + +[Service] +ExecStart=/usr/bin/lxcfs /var/lib/lxcfs +KillMode=process +Restart=on-failure +ExecStopPost=-/usr/bin/fusermount -u /var/lib/lxcfs +Delegate=yes +ExecReload=/bin/kill -USR1 $MAINPID + +[Install] +WantedBy=multi-user.target |