mirror of https://github.com/tteck/Proxmox.git
				
				
				
			Update uptimekuma-update.sh
This commit is contained in:
		
							parent
							
								
									a8b7a6e5ad
								
							
						
					
					
						commit
						c2f9224ded
					
				| 
						 | 
					@ -52,13 +52,13 @@ msg_ok "Stopped Uptime Kuma"
 | 
				
			||||||
cd /opt/uptime-kuma
 | 
					cd /opt/uptime-kuma
 | 
				
			||||||
 | 
					
 | 
				
			||||||
msg_info "Updating"
 | 
					msg_info "Updating"
 | 
				
			||||||
git fetch 
 | 
					git fetch &>/dev/null
 | 
				
			||||||
git checkout master 
 | 
					git checkout master &>/dev/null
 | 
				
			||||||
git pull 
 | 
					git pull &>/dev/null
 | 
				
			||||||
msg_ok "Updated"
 | 
					msg_ok "Updated"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
msg_info "Installing Dependencies"
 | 
					msg_info "Installing Dependencies"
 | 
				
			||||||
npm ci 
 | 
					npm ci &>/dev/null
 | 
				
			||||||
msg_ok "Installed Dependencies"
 | 
					msg_ok "Installed Dependencies"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
msg_info "Starting Uptime Kuma"
 | 
					msg_info "Starting Uptime Kuma"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue