components/apache2/patches/apachectl.patch
author Petr Sumbera <petr.sumbera@oracle.com>
Thu, 02 Jun 2011 00:54:08 -0700
changeset 278 77b380ba9d84
permissions -rw-r--r--
7045614 Move Apache Web server to userland 6844584 mod_perl packaging improvements
--- 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 "@[email protected]" ]; then
+    mkdir -p @[email protected]
+    chown -R webservd @[email protected]
+    chgrp -R webservd @[email protected]
+fi
+
 case $ARGV in
 start|stop|restart|graceful|graceful-stop)
     $HTTPD -k $ARGV