diff options
author | 2018-04-08 14:42:57 -0500 | |
---|---|---|
committer | 2018-04-08 14:42:57 -0500 | |
commit | 4b8ffd26f1eddf2da6844f38767968f6d6e9fbf3 (patch) | |
tree | f2f5d8d2b111a9a17c630dc71224fcd201eddbb4 /sys-fs/lxcfs/files | |
parent | app-metrics/collectd: Fix type in ewarn (diff) | |
download | gentoo-4b8ffd26f1eddf2da6844f38767968f6d6e9fbf3.tar.gz gentoo-4b8ffd26f1eddf2da6844f38767968f6d6e9fbf3.tar.bz2 gentoo-4b8ffd26f1eddf2da6844f38767968f6d6e9fbf3.zip |
sys-fs/lxcfs: bump to 3.0.0
Closes: https://bugs.gentoo.org/652392
Package-Manager: Portage-2.3.26, Repoman-2.3.7
Diffstat (limited to 'sys-fs/lxcfs/files')
-rw-r--r-- | sys-fs/lxcfs/files/lxcfs-3.0.0-fusermount-path.patch | 11 | ||||
-rw-r--r-- | sys-fs/lxcfs/files/lxcfs-3.0.0.initd | 26 |
2 files changed, 37 insertions, 0 deletions
diff --git a/sys-fs/lxcfs/files/lxcfs-3.0.0-fusermount-path.patch b/sys-fs/lxcfs/files/lxcfs-3.0.0-fusermount-path.patch new file mode 100644 index 000000000000..61d3494fb7f3 --- /dev/null +++ b/sys-fs/lxcfs/files/lxcfs-3.0.0-fusermount-path.patch @@ -0,0 +1,11 @@ +--- /config/init/systemd/lxcfs.service.orig 2016-07-11 01:18:57.688074437 +0000 ++++ /config/init/systemd/lxcfs.service 2016-07-11 01:19:48.516477185 +0000 +@@ -7,7 +7,7 @@ + ExecStart=/usr/bin/lxcfs /var/lib/lxcfs/ + KillMode=process + Restart=on-failure +-ExecStopPost=-/bin/fusermount -u /var/lib/lxcfs ++ExecStopPost=-/usr/bin/fusermount -u /var/lib/lxcfs + Delegate=yes + + [Install] diff --git a/sys-fs/lxcfs/files/lxcfs-3.0.0.initd b/sys-fs/lxcfs/files/lxcfs-3.0.0.initd new file mode 100644 index 000000000000..a34e74af7b69 --- /dev/null +++ b/sys-fs/lxcfs/files/lxcfs-3.0.0.initd @@ -0,0 +1,26 @@ +#!/sbin/openrc-run +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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 $? +} |