From ae418d8b113d3f42116248a1295ca44a95d993f1 Mon Sep 17 00:00:00 2001 From: GONG Jie Date: Mon, 21 Sep 2015 15:03:56 +0800 Subject: [PATCH] Send signal HUP to xCAT command log writer while log rotate --- xCAT/etc/logrotate.d/xcat | 1 + 1 file changed, 1 insertion(+) diff --git a/xCAT/etc/logrotate.d/xcat b/xCAT/etc/logrotate.d/xcat index 65d65abfb..da6a2746c 100644 --- a/xCAT/etc/logrotate.d/xcat +++ b/xCAT/etc/logrotate.d/xcat @@ -3,5 +3,6 @@ sharedscripts postrotate /bin/kill -HUP `cat /var/run/syslogd.pid 2> /dev/null` 2> /dev/null || true + /bin/kill -HUP `cat /var/run/xcat/cmdlogservice.pid 2> /dev/null` 2> /dev/null || true endscript }