| 
					
				 | 
			
			
				@@ -12,7 +12,7 @@ curl -f -H 'Host:demo.infoclinica.ru' 127.0.0.1:9000/login || exit 1 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 # Проверяем наличие файла с переменной time_to_dead 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 if [ -f /tmp/dead ];then 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   dead_to_time=$(cat /tmp/dead) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  if (( ${curtime} > ${dead_to_time} )); then kill 1;fi 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  if (( ${curtime} > ${dead_to_time} )); then echo "${curtime} > ${dead_to_time}" >> /tmp/dead_analize;else echo "${curtime} < ${dead_to_time}" >> /tmp/dead_analize;fi 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 else 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 # Определяем изменился ли адрес админки 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   ping -c3 $(cat /tmp/admin_ip) 
			 |