aboutsummaryrefslogtreecommitdiffstats
path: root/testing/gearmand/gearmand.initd
blob: cae406efd804a068dda90cc2a011539653ffa36a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/sbin/openrc-run

name="gearmand"
description="Gearman server"

command="/usr/sbin/gearmand"
command_args="-d $gearmand_opts"
command_background="yes"

pidfile="/run/${RC_SVCNAME}.pid"
start_stop_daemon_args="--user=$gearmand_user:$gearmand_group"

depend() {
	need net localmount
	after firewall
}