summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2017-09-14 16:53:20 -0700
committerZac Medico <zmedico@gentoo.org>2017-09-14 16:53:20 -0700
commit54fcfe2d700b35705ce973ef2dab40212854b3b3 (patch)
treeb5318c08f6d39e52a3b45b152e8e071baeff71dd
parentdev-python/flower: remove old version (diff)
downloadgentoo-54fcfe2d700b35705ce973ef2dab40212854b3b3.tar.gz
gentoo-54fcfe2d700b35705ce973ef2dab40212854b3b3.tar.bz2
gentoo-54fcfe2d700b35705ce973ef2dab40212854b3b3.zip
dev-python/flower: revbump to 0.9.1-r1 for bug 631020
Package-Manager: Portage-2.3.8, Repoman-2.3.2
-rw-r--r--dev-python/flower/files/flower.initd20
-rw-r--r--dev-python/flower/flower-0.9.1-r1.ebuild (renamed from dev-python/flower/flower-0.9.1.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 e224de13aeb6..1f950c6d2103 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
index c5b5750941fd..c5b5750941fd 100644
--- a/dev-python/flower/flower-0.9.1.ebuild
+++ b/dev-python/flower/flower-0.9.1-r1.ebuild