mirror of
				https://github.com/tteck/Proxmox.git
				synced 2025-10-30 18:39:10 +00:00 
			
		
		
		
	Update uptimekuma-update.sh
add directory check
This commit is contained in:
		
							parent
							
								
									4e025f460b
								
							
						
					
					
						commit
						e36b17de13
					
				| @ -45,6 +45,7 @@ function msg_ok() { | |||||||
|     echo -e "${BFR} ${CM} ${GN}${msg}${CL}" |     echo -e "${BFR} ${CM} ${GN}${msg}${CL}" | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  | if [ ! -d "/opt/uptime-kuma" ]; then echo -e "No Uptime Kuma Directory Found."; exit; fi | ||||||
| 
 | 
 | ||||||
| msg_info "Stopping ${APP}" | msg_info "Stopping ${APP}" | ||||||
| sudo systemctl stop uptime-kuma &>/dev/null | sudo systemctl stop uptime-kuma &>/dev/null | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user