2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-21 19:22:05 +00:00

Add rsyslog postrotate for Ubuntu/Debian

Thank you @samveen
This commit is contained in:
Obihörnchen 2024-02-25 01:54:28 +01:00 committed by GitHub
parent fc80e758cc
commit ef57011de2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -6,5 +6,6 @@
test -f /var/run/rsyslogd.pid && kill -HUP `cat /var/run/rsyslogd.pid 2> /dev/null` 2> /dev/null || true
test -f /var/run/syslogd.pid && kill -HUP `cat /var/run/syslogd.pid 2> /dev/null` 2> /dev/null || true
test -f /var/run/xcat/cmdlogservice.pid && kill -HUP `cat /var/run/xcat/cmdlogservice.pid 2> /dev/null` 2> /dev/null || true
test -x /usr/lib/rsyslog/rsyslog-rotate && /usr/lib/rsyslog/rsyslog-rotate || true
endscript
}