]> git.pld-linux.org Git - packages/apache.git/commitdiff
- remove ssl_scache on startup, otherwise httpd may go into infinite loop
authorAdam Gołębiowski <adamg@pld-linux.org>
Sun, 21 Aug 2011 10:58:50 +0000 (10:58 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
  if there are db transaction logs laying around

Changed files:
    apache.init -> 1.70

apache.init

index c9a99147847e5c231de9c64acd5fb3723389a2a2..692c2375734ae6ab3857d77023f611a3f821b6d2 100644 (file)
@@ -83,6 +83,9 @@ start() {
 
        [ "$1" -eq 0 ] || checkconfig
        msg_starting "$SVC_NAME"
+       # remove ssl_scache on startup, otherwise httpd may go into
+       # infinite loop if there are db transaction logs laying around
+       rm -f /var/cache/httpd/*ssl_scache*
        daemon --pidfile /var/run/httpd.pid /usr/sbin/httpd.${HTTPD_MPM} $CFG $HTTPD_OPTS
        RETVAL=$?
        [ $RETVAL -eq 0 ] && touch /var/lock/subsys/httpd
This page took 0.0453249999999999 seconds and 4 git commands to generate.