aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEugeni Dodonov <eugeni@mandriva.org>2010-03-10 14:35:36 +0000
committerEugeni Dodonov <eugeni@mandriva.org>2010-03-10 14:35:36 +0000
commitea472e0767e030cb39016bfc68cd986079818209 (patch)
treecf9510e9810a97732fddc1b8e053bf866173b33e
parent7a1c081b996abfc626cde3c7c554dfd39e6ff4f4 (diff)
downloadmsec-ea472e0767e030cb39016bfc68cd986079818209.tar
msec-ea472e0767e030cb39016bfc68cd986079818209.tar.gz
msec-ea472e0767e030cb39016bfc68cd986079818209.tar.bz2
msec-ea472e0767e030cb39016bfc68cd986079818209.tar.xz
msec-ea472e0767e030cb39016bfc68cd986079818209.zip
allow different kind of checks to run concorrently
-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 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"