[cvslog] Module eggdrop1.6: Change committed

cvslog cvs at tsss.iavalley.cc.ia.us
Tue Jan 30 23:35:01 CST 2001


CVSROOT    : /usr/local/cvsroot
Module     : eggdrop1.6
Commit time: 2001-01-31 05:34:34 UTC

Modified files:
     eggdrop.complete.conf doc/UPDATES1.6 src/main.c src/patch.h

Log message:

sigterm-default.diff -- I agree wit this, kill -9 <pid> is bad

---------------------- diff included ----------------------
Index: eggdrop1.6/doc/UPDATES1.6
diff -u eggdrop1.6/doc/UPDATES1.6:1.54 eggdrop1.6/doc/UPDATES1.6:1.55
--- eggdrop1.6/doc/UPDATES1.6:1.54	Tue Jan 30 23:32:30 2001
+++ eggdrop1.6/doc/UPDATES1.6	Tue Jan 30 23:34:23 2001
@@ -4,6 +4,7 @@
 
 1.6.3
 Found by  Fixed by  What...
+          Tothwolf  shutdown once getting a SIGTERM by default
           Tothwolf  Improved Tcl version reporting
 habeeb    Sup       Updated the help channels in README.
 PPSlim    PPSlim/   +revengebot no longer requires that the bot has a 
Index: eggdrop1.6/eggdrop.complete.conf
diff -u eggdrop1.6/eggdrop.complete.conf:1.26 eggdrop1.6/eggdrop.complete.conf:1.27
--- eggdrop1.6/eggdrop.complete.conf:1.26	Mon Jan 22 17:47:32 2001
+++ eggdrop1.6/eggdrop.complete.conf	Tue Jan 30 23:34:23 2001
@@ -1,7 +1,7 @@
 #! /path/to/executable/eggdrop
 # ^- set that to the directory eggdrop is in ie "#! /home/lamest/egg/eggdrop"
 #
-# $Id: eggdrop.complete.conf,v 1.26 2001/01/22 23:47:32 guppy Exp $
+# $Id: eggdrop.complete.conf,v 1.27 2001/01/31 05:34:23 guppy Exp $
 #
 # this config file includes all possible options you can
 # use to configure your bot properly.
@@ -316,12 +316,14 @@
 set share-unlinks 1
 
 # [0/1] die on receiving a SIGHUP?
-# (if 0, it'll rehash instead of dying)
+# The bot will save it's userfile when it receives a SIGHUP signal
+# with either setting.
 set die-on-sighup 0
 
 # [0/1] die on receiving a SIGTERM?
-# (if 0, it'll save userfile instead of dying)
-set die-on-sigterm 0
+# The bot will save it's userfile when it receives a SIGTERM signal
+# with either setting.
+set die-on-sigterm 1
 
 # to enable the 'tcl' and 'set' command (let owners directly execute
 # Tcl commands)? - a security risk!!
Index: eggdrop1.6/src/main.c
diff -u eggdrop1.6/src/main.c:1.51 eggdrop1.6/src/main.c:1.52
--- eggdrop1.6/src/main.c:1.51	Tue Jan 30 23:32:31 2001
+++ eggdrop1.6/src/main.c	Tue Jan 30 23:34:23 2001
@@ -5,7 +5,7 @@
  *   command line arguments
  *   context and assert debugging
  * 
- * $Id: main.c,v 1.51 2001/01/31 05:32:31 guppy Exp $
+ * $Id: main.c,v 1.52 2001/01/31 05:34:23 guppy Exp $
  */
 /* 
  * Copyright (C) 1997  Robey Pointer
@@ -117,7 +117,7 @@
 int	use_stderr = 1;		/* Send stuff to stderr instead of logfiles? */
 int	do_restart = 0;		/* .restart has been called, restart asap */
 int	die_on_sighup = 0;	/* die if bot receives SIGHUP */
-int	die_on_sigterm = 0;	/* die if bot receives SIGTERM */
+int	die_on_sigterm = 1;	/* die if bot receives SIGTERM */
 int	resolve_timeout = 15;	/* hostname/address lookup timeout */
 time_t	now;			/* duh, now :) */
 
Index: eggdrop1.6/src/patch.h
diff -u eggdrop1.6/src/patch.h:1.423 eggdrop1.6/src/patch.h:1.424
--- eggdrop1.6/src/patch.h:1.423	Tue Jan 30 23:32:31 2001
+++ eggdrop1.6/src/patch.h	Tue Jan 30 23:34:23 2001
@@ -10,7 +10,7 @@
  * statement, leave the rest of the file alone, this allows better
  * overlapping patches.
  * 
- * $Id: patch.h,v 1.423 2001/01/31 05:32:31 guppy Exp $
+ * $Id: patch.h,v 1.424 2001/01/31 05:34:23 guppy Exp $
  */
 /* 
  * Copyright (C) 1997  Robey Pointer
@@ -41,12 +41,12 @@
  *
  *
  */
-patch("980918871");		/* current unixtime */
+patch("980919244");		/* current unixtime */
 /*
  *
  *
  */
-patch("tclstuff");
+patch("sigterm-default");
 /*
  *
  *
----------------------- End of diff -----------------------



More information about the Changes mailing list