The following changes were made:

* rsyslog now depends on logrotate
  * package now installs a logrotate config for rsyslog (via usher)
This commit is contained in:
2018-06-17 08:14:54 -05:00
parent 9eeb3db904
commit 532034e56e
3 changed files with 45 additions and 2 deletions

View File

@@ -11,6 +11,10 @@ case $1 in
cp /usr/share/rsyslog/rsyslog.conf /etc/rsyslog.conf
fi
if [ ! -f /etc/logrotate.d/rsyslog ]; then
cp /usr/share/rsyslog/rsyslog.logrotate /etc/logrotate.d/rsyslog
fi
/etc/init.d/rsyslog status 2>&1 > /dev/null && /etc/init.d/rsyslog restart
exit 0