Skip to content

Instantly share code, notes, and snippets.

@areichman
Created August 24, 2016 15:44
Show Gist options
  • Select an option

  • Save areichman/af5f169201fcf99d00e124ba4b6d7a49 to your computer and use it in GitHub Desktop.

Select an option

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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment