diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2009-07-15 11:12:28 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2009-07-15 11:12:28 +0200 |
commit | a8b583669a74dc053b0073531d8d3076779416a6 (patch) | |
tree | 555ba1a87acfabe1da1d6bb85790d400ffdc00bd /runtime | |
parent | 17b5f2264fad2e3866f9f3325f2bd67bf4aa69f0 (diff) | |
download | rsyslog-a8b583669a74dc053b0073531d8d3076779416a6.tar.gz rsyslog-a8b583669a74dc053b0073531d8d3076779416a6.tar.xz rsyslog-a8b583669a74dc053b0073531d8d3076779416a6.zip |
CONFIG CHANGE: $HUPisRestart default is now "off".
We are doing this to support removal of restart-type HUP in v5.
Elaborate doc added to explain reasoning and actions to be taken.
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/glbl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/glbl.c b/runtime/glbl.c index 32b85622..7fa61963 100644 --- a/runtime/glbl.c +++ b/runtime/glbl.c @@ -55,7 +55,7 @@ DEFobjCurrIf(prop) */ static uchar *pszWorkDir = NULL; static int bOptimizeUniProc = 1; /* enable uniprocessor optimizations */ -static int bHUPisRestart = 1; /* should SIGHUP cause a full system restart? */ +static int bHUPisRestart = 0; /* should SIGHUP cause a full system restart? */ static int bPreserveFQDN = 0; /* should FQDNs always be preserved? */ static int iMaxLine = 2048; /* maximum length of a syslog message */ static int iDefPFFamily = PF_UNSPEC; /* protocol family (IPv4, IPv6 or both) */ @@ -293,7 +293,7 @@ static rsRetVal resetConfigVariables(uchar __attribute__((unused)) *pp, void __a } bDropMalPTRMsgs = 0; bOptimizeUniProc = 1; - bHUPisRestart = 1; + bHUPisRestart = 0; bPreserveFQDN = 0; return RS_RET_OK; } |