dev-python/flower: revbump to 0.9.1-r1 for bug 631020
authorZac Medico <zmedico@gentoo.org>
Thu, 14 Sep 2017 23:53:20 +0000 (16:53 -0700)
committerZac Medico <zmedico@gentoo.org>
Thu, 14 Sep 2017 23:53:20 +0000 (16:53 -0700)
Package-Manager: Portage-2.3.8, Repoman-2.3.2

dev-python/flower/files/flower.initd
dev-python/flower/flower-0.9.1-r1.ebuild [moved from dev-python/flower/flower-0.9.1.ebuild with 100% similarity]

index e224de13aeb69c517f216f822d7878a100d1d418..1f950c6d210398b77b80c0d8979a56f814ce80e1 100644 (file)
@@ -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%/*}"
 }