# HG changeset patch # User Marcus Granado # Date 1271783266 -3600 # Node ID 08b52dac19a6e536cfca9cc50c57802bf333b511 # Parent 03c0dc63ddb2c5e8c38d3b90d3d4000e38393bf3 CA-40601: hup syslog, not xapi, when rotating audit.log Signed-off-by: Marcus Granado diff -r 03c0dc63ddb2 -r 08b52dac19a6 scripts/audit-logrotate --- a/scripts/audit-logrotate Tue Apr 20 16:18:04 2010 +0100 +++ b/scripts/audit-logrotate Tue Apr 20 18:07:46 2010 +0100 @@ -2,6 +2,7 @@ missingok sharedscripts postrotate - /opt/xensource/bin/xe log-reopen 2> /dev/null || true + /bin/kill -HUP `cat /var/run/syslogd.pid 2> /dev/null` 2> /dev/null || true + /bin/kill -HUP `cat /var/run/rsyslogd.pid 2> /dev/null` 2> /dev/null || true endscript }