Skip to content

Instantly share code, notes, and snippets.

@areichman
Created August 24, 2016 15:44
Show Gist options
  • Save areichman/af5f169201fcf99d00e124ba4b6d7a49 to your computer and use it in GitHub Desktop.
Save areichman/af5f169201fcf99d00e124ba4b6d7a49 to your computer and use it in GitHub Desktop.
Reload rsyslog configuration without restarting
# 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)