Skip to content

Commit

Permalink
Add rsyslog postrotate for Ubuntu/Debian
Browse files Browse the repository at this point in the history
Thank you @samveen
  • Loading branch information
Obihoernchen authored Feb 25, 2024
1 parent fc80e75 commit ef57011
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions xCAT/etc/logrotate.d/xcat
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

0 comments on commit ef57011

Please sign in to comment.