components/apache2/patches/apachectl.patch
author Judy Chen <Judy.Chen@oracle.com>
Wed, 20 Mar 2013 17:30:15 -0400
branchs11-update
changeset 2526 a7c3342cac79
parent 278 77b380ba9d84
permissions -rw-r--r--
PSARC/2012/347 Amendment to IPMItool from PSARC/2011/104 15919183 Remove ipmitool from Userland consolidation

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