diff options
author | 2016-01-28 10:49:50 -0600 | |
---|---|---|
committer | 2016-01-28 10:49:50 -0600 | |
commit | df4932ee6d37ceb18153bc065d50e2b1f44ec7b4 (patch) | |
tree | 6ca8a2b660b4fb7f8f25e5e23123f10cab4206c7 /sys-fs/lxcfs/files | |
parent | app-text/zathura: drop synctex patch (bug 573162, thanks Luis Ressel). (diff) | |
download | gentoo-df4932ee6d37ceb18153bc065d50e2b1f44ec7b4.tar.gz gentoo-df4932ee6d37ceb18153bc065d50e2b1f44ec7b4.tar.bz2 gentoo-df4932ee6d37ceb18153bc065d50e2b1f44ec7b4.zip |
sys-fs/lxcfs: bump to 0.17
Adds a PAM module
Package-Manager: portage-2.2.27
Diffstat (limited to 'sys-fs/lxcfs/files')
-rwxr-xr-x | sys-fs/lxcfs/files/lxcfs-0.17.initd | 27 | ||||
-rw-r--r-- | sys-fs/lxcfs/files/lxcfs-0.17.service | 13 |
2 files changed, 40 insertions, 0 deletions
diff --git a/sys-fs/lxcfs/files/lxcfs-0.17.initd b/sys-fs/lxcfs/files/lxcfs-0.17.initd new file mode 100755 index 000000000000..a85021401a7d --- /dev/null +++ b/sys-fs/lxcfs/files/lxcfs-0.17.initd @@ -0,0 +1,27 @@ +#!/sbin/runscript +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +DAEMON=/usr/bin/lxcfs +PIDFILE=/run/lxcfs.pid + +start() { + ebegin "Starting lxcfs" + + start-stop-daemon --start \ + --pidfile ${PIDFILE} \ + --exec ${DAEMON} \ + --background \ + --make-pidfile \ + -- \ + -f -o allow_other /var/lib/lxcfs + + eend $? +} + +stop() { + ebegin "Stopping lxcfs" + start-stop-daemon --stop --quiet -R TERM/45 -p ${PIDFILE} + eend $? +} diff --git a/sys-fs/lxcfs/files/lxcfs-0.17.service b/sys-fs/lxcfs/files/lxcfs-0.17.service new file mode 100644 index 000000000000..ff737c7e78ce --- /dev/null +++ b/sys-fs/lxcfs/files/lxcfs-0.17.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 |