Apache's startup has different REQUIRE/BEFORE. i'm not very familiar with them at all but maybe different values may help....though it looks like a comment to me ... You can probably try copying this one and editing and drop the precmd... and may end up with equally nonfuctional result or not... good luck #!/bin/sh # $FreeBSD: ports/www/apache13-modssl/files/rcng.sh,v 1.3 2004/05/14 05:30:53 dinoex Exp $ # PROVIDE: apache # REQUIRE: DAEMON # BEFORE: LOGIN # KEYWORD: FreeBSD shutdown # Define these apache_* variables in one of these files: # /etc/rc.conf # /etc/rc.conf.local # /etc/rc.conf.d/apache # # DO NOT CHANGE THESE DEFAULT VALUES HERE # apache_enable="NO" apache_flags="-DSSL" apache_pidfile="/var/run/httpd.pid" . /etc/rc.subr name="apache" rcvar=`set_rcvar` command="/usr/local/sbin/httpd" load_rc_config $name pidfile="${apache_pidfile}" start_precmd="`/usr/bin/limits -e -U www`" run_rc_command "$1"