Use -b to properly fork the daemon instead of &.

This commit is contained in:
jmmv 2006-05-01 10:32:51 +00:00
parent e1c1092afe
commit a9010854fc

View file

@ -1,6 +1,6 @@
#!@RCD_SCRIPTS_SHELL@ #!@RCD_SCRIPTS_SHELL@
# #
# $NetBSD: cherokee.sh,v 1.1.1.1 2006/05/01 07:22:29 jmmv Exp $ # $NetBSD: cherokee.sh,v 1.2 2006/05/01 10:32:51 jmmv Exp $
# #
# PROVIDE: cherokee # PROVIDE: cherokee
# REQUIRE: DAEMON # REQUIRE: DAEMON
@ -12,7 +12,7 @@ fi
name="cherokee" name="cherokee"
rcvar=$name rcvar=$name
command="@PREFIX@/sbin/${name}" command="@PREFIX@/sbin/${name}"
command_args="&" command_args="-b"
required_files="@PKG_SYSCONFDIR@/cherokee/${name}.conf" required_files="@PKG_SYSCONFDIR@/cherokee/${name}.conf"
if [ -f /etc/rc.subr ]; then if [ -f /etc/rc.subr ]; then