diff options
author | Eugeni Dodonov <eugeni@mandriva.org> | 2010-03-10 14:35:36 +0000 |
---|---|---|
committer | Eugeni Dodonov <eugeni@mandriva.org> | 2010-03-10 14:35:36 +0000 |
commit | ea472e0767e030cb39016bfc68cd986079818209 (patch) | |
tree | cf9510e9810a97732fddc1b8e053bf866173b33e /cron-sh | |
parent | 7a1c081b996abfc626cde3c7c554dfd39e6ff4f4 (diff) | |
download | msec-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
Diffstat (limited to 'cron-sh')
-rwxr-xr-x | cron-sh/security.sh | 2 |
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" |