components/apache2/patches/apachectl.patch
author Mike Sullivan <Mike.Sullivan@Oracle.COM>
Sun, 16 Jun 2013 14:05:34 -0700
changeset 1346 ebb3e4503fed
parent 1331 0d14e812ca53
permissions -rw-r--r--
backout 16515692/15771644/16701480/15648359/16401460 - needs more work

--- support/apachectl.in.orig	Tue Jul 11 20:38:44 2006
+++ support/apachectl.in	Tue Feb 12 02:24:17 2008
@@ -75,6 +75,12 @@
     ARGV="-h"
 fi
 
+if [ ! -d "@exp_runtimedir@" ]; then
+    mkdir -p @exp_runtimedir@
+    chown -R webservd @exp_runtimedir@
+    chgrp -R webservd @exp_runtimedir@
+fi
+
 case $ARGV in
 start|stop|restart|graceful|graceful-stop)
     $HTTPD -k $ARGV