Return-Path: Delivered-To: apache-cvs-archive@hyperreal.org Received: (qmail 12507 invoked by uid 6000); 15 Feb 1999 07:02:02 -0000 Received: (qmail 12497 invoked by alias); 15 Feb 1999 07:01:59 -0000 Delivered-To: apache-apr-cvs@hyperreal.org Received: (qmail 12495 invoked by uid 216); 15 Feb 1999 07:01:58 -0000 Date: 15 Feb 1999 07:01:58 -0000 Message-ID: <19990215070158.12494.qmail@hyperreal.org> From: manoj@hyperreal.org To: apache-apr-cvs@hyperreal.org Subject: cvs commit: apache-apr/pthreads/src/support apachectl Sender: apache-cvs-owner@apache.org Precedence: bulk Reply-To: new-httpd@apache.org manoj 99/02/14 23:01:58 Modified: pthreads/src/main http_main.c pthreads/src/support apachectl Log: More minor fixes to go with the SIGWINCH change. Even if we switch to a different signal, making everything consistent will make a switchover easier. Revision Changes Path 1.21 +1 -1 apache-apr/pthreads/src/main/http_main.c Index: http_main.c =================================================================== RCS file: /home/cvs/apache-apr/pthreads/src/main/http_main.c,v retrieving revision 1.20 retrieving revision 1.21 diff -u -u -r1.20 -r1.21 --- http_main.c 1999/02/15 03:12:01 1.20 +++ http_main.c 1999/02/15 07:01:57 1.21 @@ -2737,7 +2737,7 @@ /* kill off the idle ones */ if (ap_killpg(pgrp, SIGWINCH) < 0) { - ap_log_error(APLOG_MARK, APLOG_WARNING, server_conf, "killpg SIGHUP"); + ap_log_error(APLOG_MARK, APLOG_WARNING, server_conf, "killpg SIGWINCH"); } /* This is mostly for debugging... so that we know what is still 1.3 +2 -2 apache-apr/pthreads/src/support/apachectl Index: apachectl =================================================================== RCS file: /home/cvs/apache-apr/pthreads/src/support/apachectl,v retrieving revision 1.2 retrieving revision 1.3 diff -u -u -r1.2 -r1.3 --- apachectl 1999/02/07 06:30:18 1.2 +++ apachectl 1999/02/15 07:01:58 1.3 @@ -122,7 +122,7 @@ fi else if $HTTPD -t >/dev/null 2>&1; then - if kill -USR1 $PID ; then + if kill -WINCH $PID ; then echo "$0 $ARG: httpd gracefully restarted" else echo "$0 $ARG: httpd could not be restarted" @@ -158,7 +158,7 @@ not running fullstatus - dump a full status screen; requires lynx and mod_status enabled status - dump a short status screen; requires lynx and mod_status enabled -graceful - do a graceful restart by sending a SIGUSR1 or start if not running +graceful - do a graceful restart by sending a SIGWINCH or start if not running configtest - do a configuration syntax test help - this screen