commit:     54fcfe2d700b35705ce973ef2dab40212854b3b3
Author:     Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 14 23:53:20 2017 +0000
Commit:     Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Thu Sep 14 23:53:20 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=54fcfe2d

dev-python/flower: revbump to 0.9.1-r1 for bug 631020

Package-Manager: Portage-2.3.8, Repoman-2.3.2

 dev-python/flower/files/flower.initd                 | 20 ++++++--------------
 .../{flower-0.9.1.ebuild => flower-0.9.1-r1.ebuild}  |  0
 2 files changed, 6 insertions(+), 14 deletions(-)

diff --git a/dev-python/flower/files/flower.initd 
b/dev-python/flower/files/flower.initd
index e224de13aeb..1f950c6d210 100644
--- a/dev-python/flower/files/flower.initd
+++ b/dev-python/flower/files/flower.initd
@@ -1,23 +1,15 @@
 #!/sbin/openrc-run
-# Copyright 2015 Gentoo Foundation
+# Copyright 2015-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 description="Real-time monitor and web admin for Celery distributed task queue"
-pidfile=${pidfile:-"/run/${SVCNAME}/${SVCNAME}.pid"}
-user=${SVCNAME}
-group=${SVCNAME}
-
-command="/usr/libexec/${SVCNAME}/${SVCNAME}"
+pidfile=${pidfile:-"/run/${RC_SVCNAME}.pid"}
+command="/usr/libexec/${RC_SVCNAME}/${RC_SVCNAME}"
+command_user="${RC_SVCNAME}"
 command_background="true"
-start_stop_daemon_args="--user ${user} --group ${group} \
-       --stdout /var/log/${SVCNAME}/${SVCNAME}.log \
-       --stderr /var/log/${SVCNAME}/${SVCNAME}.log"
+start_stop_daemon_args="--stdout /var/log/${RC_SVCNAME}/${RC_SVCNAME}.log
+       --stderr /var/log/${RC_SVCNAME}/${RC_SVCNAME}.log"
 
 depend() {
        need net
-       after net
-}
-
-start_pre() {
-       checkpath -d -m 0755 -o "${user}":"${group}" "${pidfile%/*}"
 }

diff --git a/dev-python/flower/flower-0.9.1.ebuild 
b/dev-python/flower/flower-0.9.1-r1.ebuild
similarity index 100%
rename from dev-python/flower/flower-0.9.1.ebuild
rename to dev-python/flower/flower-0.9.1-r1.ebuild

Reply via email to