From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- app-admin/logcheck/files/logcheck.cron | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 app-admin/logcheck/files/logcheck.cron (limited to 'app-admin/logcheck/files/logcheck.cron') 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 -- cgit v1.2.3