2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-31 01:56:39 +00:00

Send signal HUP to xCAT command log writer while log rotate

This commit is contained in:
GONG Jie 2015-09-21 15:03:56 +08:00
parent 48e1924501
commit ae418d8b11

View File

@ -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
}