2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-30 09:36:41 +00:00

Fix logrotate for Ubuntu. For rsyslogd in Ubuntu, there is a different pid file.

This commit is contained in:
GONG Jie 2015-11-06 13:31:51 +08:00
parent f7a63d835f
commit 8f8cf2ecfc

View File

@ -2,6 +2,7 @@
missingok
sharedscripts
postrotate
/bin/kill -HUP `cat /var/run/rsyslogd.pid 2> /dev/null` 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/xcat/cmdlogservice.pid 2> /dev/null` 2> /dev/null || true
endscript