Sophie

Sophie

distrib > Mageia > 4 > x86_64 > by-pkgid > 92887fd2fbbd5107572b8ab5a7a8a1f8 > files > 24

audit-2.3.2-2.mga4.x86_64.rpm

#!/bin/sh

##########
# This script can be installed to get a daily log rotation
# based on a cron job.
##########

/sbin/service auditd rotate
EXITVALUE=$?
if [ $EXITVALUE != 0 ]; then
    /usr/bin/logger -t auditd "ALERT exited abnormally with [$EXITVALUE]"
fi
exit 0