Permalink
Browse files

CA-40601: hup syslog, not xapi, when rotating audit.log

Signed-off-by: Marcus Granado <marcus.granado@eu.citrix.com>
  • Loading branch information...
1 parent 9345073 commit b4ae3d09f9becdca50e1dca4d20d067fe901b782 Marcus Granado committed Apr 20, 2010
Showing with 2 additions and 1 deletion.
  1. +2 −1 scripts/audit-logrotate
View
3 scripts/audit-logrotate
@@ -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
}

0 comments on commit b4ae3d0

Please sign in to comment.