rsyslog/rsyslog.log
Todd Zullinger 00eb7785d3 Use systemctl reload in logrotate script
In 5f74814 (Use systemctl for sending SIGHUP to the service,
2015-06-29), a direct call to `kill` was replaced with `systemctl kill`.

This can be simplified using `systemctl reload` instead.  Doing so also
resolves an issue when `POSIXLY_CORRECT` is set (rhbz#2124488).
2023-05-14 12:26:05 -04:00

13 lines
221 B
Plaintext

/var/log/cron
/var/log/maillog
/var/log/messages
/var/log/secure
/var/log/spooler
{
missingok
sharedscripts
postrotate
/usr/bin/systemctl reload rsyslog.service >/dev/null 2>&1 || true
endscript
}