]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Pid file now written on SIGHUP too.
authorglenn <>
Sat, 16 Jan 1999 07:03:38 +0000 (07:03 +0000)
committerglenn <>
Sat, 16 Jan 1999 07:03:38 +0000 (07:03 +0000)
ChangeLog
src/main.cc

index 05fda2ad6bb08ed925568da00fb21c1815627153..bb653650c91b39500df913e0ea36fe41e662b6d2 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -36,6 +36,7 @@ Changes to Squid-2.2 ():
          this change, we have to add a special check that comm_close()
          doesn't close a FD while the read/write handler for that FD
          is still being serviced.  See 'current_hdl_fd'.
+       - Pid file now rewritten on SIGHUP.
 
 Changes to Squid-2.1 (November 16, 1998):
 
index a13440234713f8a1f7e68544ac8b04b09762b705..e9a45f2bcb33be274db14bb4d4b94184ad3eca65 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: main.cc,v 1.284 1999/01/13 23:24:14 wessels Exp $
+ * $Id: main.cc,v 1.285 1999/01/16 00:03:39 glenn Exp $
  *
  * DEBUG: section 1     Startup and Main Loop
  * AUTHOR: Harvest Derived
@@ -340,6 +340,7 @@ mainReconfigure(void)
            debug(1, 1) ("ICP port disabled in httpd_accelerator mode\n");
     }
     storeDirOpenSwapLogs();
+    writePidFile();         /* write PID file */
     debug(1, 1) ("Ready to serve requests.\n");
     reconfiguring = 0;
 }