From 11169ce87a5800c55a20cab74c8f8d26ac55b5c0 Mon Sep 17 00:00:00 2001 From: tbrehm Date: Fri, 12 Jun 2009 15:23:52 +0000 Subject: [PATCH] Fixed wrong wait time in server.php --- server/server.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/server.php b/server/server.php index fcb7e81644..93e4c21844 100644 --- a/server/server.php +++ b/server/server.php @@ -54,7 +54,7 @@ if($server_db_record == false) { // Check if another process is running if(is_file($conf["temppath"].$conf["fs_div"].".ispconfig_lock")){ clearstatcache(); - for($i=0;$i<1200;$i++){ // Wait max. 1200 sec, then proceed + for($i=0;$i<120;$i++){ // Wait max. 1200 sec, then proceed if(is_file($conf["temppath"].$conf["fs_div"].".ispconfig_lock")){ exec("ps aux | grep '/usr/local/ispconfig/server/server.php' | grep -v 'grep' | wc -l", $check); if(intval($check[0]) > 1) { // 1 because this is 2nd instance! -- GitLab