Compare commits

...

2 Commits

Author SHA1 Message Date
Joshua Boniface
91998802a7 Restore original rsyslog-rotate script
Direct call doesn't work because of how arguments are passed to
postrotate.
2023-01-17 11:17:36 -05:00
Joshua Boniface
dc9ff33a8f Explicitly use systemctl in logrotate
For some reason (Debian bug?) the default rsyslog-rotate script was not
properly rotating rsyslog logfiles. Instead, explicitly call systemctl
kill -s HUP for this, using a full path.
2023-01-17 11:03:32 -05:00

View File

@@ -16,6 +16,6 @@
delaycompress
sharedscripts
postrotate
/usr/lib/rsyslog/rsyslog-rotate &>/dev/null
/usr/lib/rsyslog/rsyslog-rotate
endscript
}