Fix logrotate for docker-distribution

This used a syntax that was from an old EL and does not work with
newer Fedora with systemctl. Hat tip to misc for helping me figure out
which rpm had the file in it and then what the right syntax was.
This commit is contained in:
Stephen Smoogen 2021-02-04 06:48:28 -05:00
parent 8029e4433b
commit 011e9b6a2f

View file

@ -6,7 +6,7 @@
{
sharedscripts
postrotate
/bin/kill -HUP `cat /var/run/syslogd.pid 2> /dev/null` 2> /dev/null || true
/usr/bin/systemctl kill -s HUP rsyslog.service >/dev/null 2>&1 || true
endscript
daily
rotate 7