summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2009-09-04 15:17:23 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2009-09-04 15:17:23 +0200
commit6d8df125979065640598bc9126258dc8645f748d (patch)
treec625b87b1ad7586222e99410d784703aad7b8c95 /tools
parent1e9febaf28ffa1a6107cd0f5f2c0ac0ab2b16830 (diff)
parentd7cfdcf28c1239908619aadac6ef4fa43f1b93fd (diff)
downloadrsyslog-6d8df125979065640598bc9126258dc8645f748d.tar.gz
rsyslog-6d8df125979065640598bc9126258dc8645f748d.tar.xz
rsyslog-6d8df125979065640598bc9126258dc8645f748d.zip
Merge branch 'v3-stable' into v4-stable
Conflicts: doc/rsyslog_conf.html
Diffstat (limited to 'tools')
-rw-r--r--tools/rsyslogd.815
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