diff options
Diffstat (limited to 'app-admin/logcheck/files/logcheck.cron')
-rw-r--r-- | app-admin/logcheck/files/logcheck.cron | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/app-admin/logcheck/files/logcheck.cron b/app-admin/logcheck/files/logcheck.cron new file mode 100644 index 000000000000..3b3f4fcf62bd --- /dev/null +++ b/app-admin/logcheck/files/logcheck.cron @@ -0,0 +1,10 @@ +#!/bin/bash + +set -e + +if [ ! -d /var/lock/logcheck ]; then + mkdir -p /var/lock/logcheck +fi +chown -R logcheck:logcheck /var/lock/logcheck + +su -s /bin/bash -c /usr/sbin/logcheck logcheck |