Sophie

Sophie

distrib > Mageia > 3 > x86_64 > by-pkgid > 664ade76ebbff7b98d2a3f1f1441a6d7 > files > 24

audit-2.2.3-1.mga3.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