]> git.pld-linux.org Git - packages/audit.git/blame - audit-cronjob.patch
- updated to 2.4.1
[packages/audit.git] / audit-cronjob.patch
CommitLineData
738da8d6
JR
1--- audit-2.3.2/init.d/auditd.cron.orig 2013-07-29 23:36:59.000000000 +0200
2+++ audit-2.3.2/init.d/auditd.cron 2013-12-08 12:29:45.000000000 +0100
3@@ -1,7 +1,8 @@
4 # based on a cron job.
5 ##########
6
7-/sbin/service auditd rotate
8+p=$(pidof auditd)
9+[ -n "$p" ] && kill -USR1 $p
10 EXITVALUE=$?
11 if [ $EXITVALUE != 0 ]; then
12 /usr/bin/logger -t auditd "ALERT exited abnormally with [$EXITVALUE]"
This page took 0.075284 seconds and 4 git commands to generate.