Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
logrotate: Don't fail when syslog not running
Avoid error logrotate[225]: dateext suffix '.2019-10' logrotate[225]: glob pattern '.[0-9][0-9][0-9][0-9]-[0-9][0-9]' logrotate[225]: renaming /var/log/messages to /var/log/messages.2019-10 logrotate[225]: running postrotate script logrotate[225]: cat: /var/run/rsyslogd.pid: No such file or directory logrotate[225]: kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... o logrotate[225]: error: error running shared postrotate script for '/var/log/messages ' systemd[1]: logrotate.service: Main process exited, code=exited, status=1/FAILURE systemd[1]: logrotate.service: Failed with result 'exit-code'. systemd[1]: Failed to start Rotate log files.
- Loading branch information