Commit fe16d06e authored by Per Cederqvist's avatar Per Cederqvist
Browse files

Updated a comment: SIGTERM is now the official way to shut down

lyskomd.
parent 37e0a7a0
/*
* $Id: connections.c,v 0.119 2003/08/07 19:38:15 ceder Exp $
* $Id: connections.c,v 0.120 2003/08/12 13:14:02 ceder Exp $
* Copyright (C) 1991-2002 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
......@@ -96,7 +96,7 @@ Connection * active_connection = NULL;
/*
* This is set TRUE when the server should be closed. It is checked
* each time around the main loop. It is set if someone with enough
* privileges issues a `shutdown', or of lyskomd receives a SIGHUP.
* privileges issues a `shutdown', or of lyskomd receives a SIGTERM.
* This not an abort: all data is saved before we exit.
*/
Bool go_and_die = FALSE;
......
/*
* $Id: sigflags.h,v 1.5 2003/07/13 11:54:21 ceder Exp $
* $Id: sigflags.h,v 1.6 2003/08/12 13:14:17 ceder Exp $
* Copyright (C) 1991, 1999, 2002 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
......@@ -23,6 +23,6 @@
* Please mail bug reports to bug-lyskom@lysator.liu.se.
*/
/* The go_and_die flag is set by SIGHUP and shutdown_kom. It causes
/* The go_and_die flag is set by SIGTERM and shutdown_kom. It causes
lyskomd to be shut down in an orderly fashion. */
extern Bool go_and_die;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment