components/apache2/patches/apachectl.patch
author Petr Nyc <petr.nyc@Oracle.COM>
Thu, 01 Aug 2013 00:01:07 -0700
branchs11u1-sru
changeset 2709 6bc2da8be356
parent 278 77b380ba9d84
permissions -rw-r--r--
Added tag 0.175.1.10.0.5.0, S11.1SRU10.5 for changeset 7f14ba067a6e

--- 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