summaryrefslogtreecommitdiff
path: root/dev-python/flower/files/flower.initd
blob: 1f950c6d210398b77b80c0d8979a56f814ce80e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/sbin/openrc-run
# 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/${RC_SVCNAME}.pid"}
command="/usr/libexec/${RC_SVCNAME}/${RC_SVCNAME}"
command_user="${RC_SVCNAME}"
command_background="true"
start_stop_daemon_args="--stdout /var/log/${RC_SVCNAME}/${RC_SVCNAME}.log
	--stderr /var/log/${RC_SVCNAME}/${RC_SVCNAME}.log"

depend() {
	need net
}