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:
parent
f7a63d835f
commit
8f8cf2ecfc
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user