app-emulation/flannel: revbump to 0.8.0-r2 for bug 629170
authorZac Medico <zmedico@gentoo.org>
Fri, 1 Sep 2017 22:22:44 +0000 (15:22 -0700)
committerZac Medico <zmedico@gentoo.org>
Fri, 1 Sep 2017 22:29:17 +0000 (15:29 -0700)
Package-Manager: Portage-2.3.8, Repoman-2.3.2

app-emulation/flannel/files/flanneld.initd
app-emulation/flannel/flannel-0.8.0-r2.ebuild [moved from app-emulation/flannel/flannel-0.8.0-r1.ebuild with 100% similarity]

index 6f75abd40f539d6ae0c3b2b8eac17f84fad3cc0f..d5d966a40d30283efb33bcc4807bd875aaf9252b 100644 (file)
@@ -3,11 +3,11 @@
 # Distributed under the terms of the GNU General Public License v2
 
 description="Flannel Network Fabric for Containers"
-pidfile=${pidfile:-"/run/${SVCNAME}/${SVCNAME}.pid"}
+pidfile=${pidfile:-"/run/${RC_SVCNAME}.pid"}
 user=${user:-root}
 group=${group:-root}
 
-command="/usr/bin/${SVCNAME}"
+command="/usr/bin/${RC_SVCNAME}"
 command_args="${command_args}"
 command_background="true"
 start_stop_daemon_args="--user ${user} --group ${group} \
@@ -16,9 +16,4 @@ start_stop_daemon_args="--user ${user} --group ${group} \
 
 depend() {
        need net
-       after net
-}
-
-start_pre() {
-       checkpath -d -m 0755 -o "${user}":"${group}" "${pidfile%/*}"
 }