From: glenn <> Date: Sat, 16 Jan 1999 07:03:38 +0000 (+0000) Subject: Pid file now written on SIGHUP too. X-Git-Tag: SQUID_3_0_PRE1~2394 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2328711e06ae219889430ddd978c1c69e41d729d;p=thirdparty%2Fsquid.git Pid file now written on SIGHUP too. --- diff --git a/ChangeLog b/ChangeLog index 05fda2ad6b..bb653650c9 100644 --- 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): diff --git a/src/main.cc b/src/main.cc index a134402347..e9a45f2bcb 100644 --- a/src/main.cc +++ b/src/main.cc @@ -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; }