aboutsummaryrefslogtreecommitdiffstats
path: root/cron-sh
diff options
context:
space:
mode:
authordaviddavid <geiger.david68210@gmail.com>2024-05-09 09:05:14 +0200
committerdaviddavid <geiger.david68210@gmail.com>2024-05-09 09:05:14 +0200
commit6f8ab1f632dd44a7c1d677f3ec966e40a866086b (patch)
tree3acd29c5dddaaddd1666deff8285b60cd7d39976 /cron-sh
parent6037e00ac231ec297a9ad0aacd46f3c6415bc759 (diff)
downloadmsec-6f8ab1f632dd44a7c1d677f3ec966e40a866086b.tar
msec-6f8ab1f632dd44a7c1d677f3ec966e40a866086b.tar.gz
msec-6f8ab1f632dd44a7c1d677f3ec966e40a866086b.tar.bz2
msec-6f8ab1f632dd44a7c1d677f3ec966e40a866086b.tar.xz
msec-6f8ab1f632dd44a7c1d677f3ec966e40a866086b.zip
replace temporary dir from /var/run to /run
Diffstat (limited to 'cron-sh')
-rwxr-xr-xcron-sh/security.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/cron-sh/security.sh b/cron-sh/security.sh
index 016625b..85aab9f 100755
--- a/cron-sh/security.sh
+++ b/cron-sh/security.sh
@@ -43,7 +43,7 @@ fi
CURRENT_CHECK_TYPE=$(current_check_type)
# variables
-LCK=/var/run/msec-security-${CURRENT_CHECK_TYPE}.pid
+LCK=/run/msec-security-${CURRENT_CHECK_TYPE}.pid
SECURITY_LOG="/var/log/security.log"
MAIL_LOG_TODAY="/var/log/security/mail.${CURRENT_CHECK_TYPE}.today"
MAIL_LOG_YESTERDAY="/var/log/security/mail.${CURRENT_CHECK_TYPE}.yesterday"