Created
August 24, 2016 15:44
-
-
Save areichman/af5f169201fcf99d00e124ba4b6d7a49 to your computer and use it in GitHub Desktop.
Reload rsyslog configuration without restarting
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Restart rsyslog so it re-opens its file pointer (e.g. during logrotate postrotate script) | |
# via https://access.redhat.com/solutions/232793 | |
kill -HUP $(cat /var/run/syslogd.pid) |
The description is plain wrong. The configuration can not be reloaded without restarting rsyslog.
SIGHUP only reopens log files.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
On SUSE (SLES12-SP3, with rsyslog version 8.24.0-3.16.1), this does not seem to work.
Also, the PID file is /var/run/rsyslogd.pid