blob: 801f42b21467d81c128d9cda2045db8ece344cf9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
#!@RCD_SCRIPTS_SHELL@
#
# $NetBSD: cherokee.sh,v 1.1.1.1 2006/05/01 07:22:29 jmmv Exp $
#
# PROVIDE: cherokee
# REQUIRE: DAEMON
if [ -f /etc/rc.subr ]; then
. /etc/rc.subr
fi
name="cherokee"
rcvar=$name
command="@PREFIX@/sbin/${name}"
command_args="&"
required_files="@PKG_SYSCONFDIR@/cherokee/${name}.conf"
if [ -f /etc/rc.subr ]; then
load_rc_config $name
run_rc_command "$1"
else
@ECHO@ -n " ${name}"
${command} ${cherokee_flags} ${command_args}
fi
|