From ea472e0767e030cb39016bfc68cd986079818209 Mon Sep 17 00:00:00 2001 From: Eugeni Dodonov Date: Wed, 10 Mar 2010 14:35:36 +0000 Subject: allow different kind of checks to run concorrently --- cron-sh/security.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cron-sh') diff --git a/cron-sh/security.sh b/cron-sh/security.sh index b6eb17f..199e391 100755 --- a/cron-sh/security.sh +++ b/cron-sh/security.sh @@ -39,7 +39,7 @@ fi CURRENT_CHECK_TYPE=$(current_check_type) # variables -LCK=/var/run/msec-security.pid +LCK=/var/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" -- cgit v1.2.1