mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-25 21:08:35 -07:00
dev-python/flower: revbump to 0.9.1-r1 for bug 631020
Package-Manager: Portage-2.3.8, Repoman-2.3.2
This commit is contained in:
@@ -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%/*}"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user