blob: 0428db29f17995720092840c4b4fe5a6d6772fc3 [file] [log] [blame]
#!/bin/sh
while true; do
sleep 60
/usr/sbin/logrotate /etc/logrotate.d/*.rsyslog
ec=$?
if [ $ec -ne 0 ] ; then
echo "logrotate failed ($ec)"
fi
done