--- httpd.old 2009-12-07 22:12:55.000000000 +0100 +++ httpd 2009-12-07 22:14:15.000000000 +0100 @@ -6,10 +6,12 @@ . /etc/rc.d/functions APACHECTL=/usr/sbin/apachectl +RUNDIR=/var/run/httpd case "$1" in start) stat_busy "Starting Apache Web Server" + [ -d $RUNDIR ] || mkdir $RUNDIR if $APACHECTL start &>/dev/null ; then add_daemon $daemon_name stat_done