diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2009-07-15 10:19:23 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2009-07-15 10:19:23 +0200 |
commit | b6340c77148a28682d347806860d4bd62be4f608 (patch) | |
tree | fc149c34c488cc1aed7cba7b6047e6b6b4eb3ce8 /tools/rsyslogd.8 | |
parent | ef9722ec87c8a7ddb2d499c1e7863475d8790a94 (diff) | |
download | rsyslog-b6340c77148a28682d347806860d4bd62be4f608.tar.gz rsyslog-b6340c77148a28682d347806860d4bd62be4f608.tar.xz rsyslog-b6340c77148a28682d347806860d4bd62be4f608.zip |
removed mentioning HUP as a way of restarting from the doc set
... part of the deprecation effort for v5
Diffstat (limited to 'tools/rsyslogd.8')
-rw-r--r-- | tools/rsyslogd.8 | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/tools/rsyslogd.8 b/tools/rsyslogd.8 index 7d4b5e03..6ac30e46 100644 --- a/tools/rsyslogd.8 +++ b/tools/rsyslogd.8 @@ -248,20 +248,17 @@ kill -HUP $(cat /var/run/rsyslogd.pid) .B HUP This lets .B rsyslogd -perform a re-initialization. All open files are closed, the -configuration file (default is -.IR /etc/rsyslog.conf ")" -will be reread and the -.BR rsyslog (3) -facility is started again. +perform close all open files. +Also, in v3 a full restart will be done in order to read changed configuration files. Note that this means a full rsyslogd restart is done. This has, among others, the consequence that TCP and other connections are torn down. Also, if any queues are not running in disk assisted mode or are not set to persist data on shutdown, queue data is lost. HUPing rsyslogd is an extremely expensive operation and should only be done when actually necessary. Actually, it is -a rsyslgod stop immediately followed by a restart. Future versions will probably -include a special handling which only closes files, but will not cause any -of the other effects. +a rsyslgod stop immediately followed by a restart. Future versions will remove +this restart functionality of HUP (it will go away in v5). So it is advised to use +HUP only for closing files, and a "real restart" (e.g. /etc/rc.d/rsyslogd restart) +to activate configuration changes. .TP .B TERM ", " INT ", " QUIT .B Rsyslogd |