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:
parent
8029e4433b
commit
011e9b6a2f
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue