components/apache2/patches/apachectl.patch
author Mike Sullivan <Mike.Sullivan@Oracle.COM>
Fri, 27 Apr 2012 13:23:29 -0700
changeset 800 2ad056ed89ec
parent 278 77b380ba9d84
permissions -rw-r--r--
7163771 sha1 should not be used in userland-fetch and userland component/*/Makefile 7164671 BUILD_TOOLS should point to on11update-tools now

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