diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2009-07-15 11:47:58 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2009-07-15 11:47:58 +0200 |
commit | 9db3e14e45f66356d1e6f5e2337b4ef3a45a6ce8 (patch) | |
tree | 10cf3b035fbd24ab2504b4cc7c1118878923e8b7 /tools | |
parent | 5416a94bbe9a24ad9236755a9e21944685fc231b (diff) | |
parent | f7894c401fdb8a2ad7bb3a1d87a74d438cc366c3 (diff) | |
download | rsyslog-9db3e14e45f66356d1e6f5e2337b4ef3a45a6ce8.tar.gz rsyslog-9db3e14e45f66356d1e6f5e2337b4ef3a45a6ce8.tar.xz rsyslog-9db3e14e45f66356d1e6f5e2337b4ef3a45a6ce8.zip |
Merge branch 'beta'
Conflicts:
ChangeLog
configure.ac
doc/manual.html
Diffstat (limited to 'tools')
-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 |