mirror of https://github.com/tteck/Proxmox.git
				
				
				
			Update esphome-install.sh
- revert 5dc1cf5870
- fixes https://github.com/tteck/Proxmox/issues/2062
			
			
This commit is contained in:
		
							parent
							
								
									26230754af
								
							
						
					
					
						commit
						03ea3fb8dd
					
				| 
						 | 
					@ -29,6 +29,7 @@ $STD apt-get install -y \
 | 
				
			||||||
msg_ok "Updated Python3"
 | 
					msg_ok "Updated Python3"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
msg_info "Installing ESPHome"
 | 
					msg_info "Installing ESPHome"
 | 
				
			||||||
 | 
					mkdir /root/config
 | 
				
			||||||
$STD pip install esphome tornado esptool
 | 
					$STD pip install esphome tornado esptool
 | 
				
			||||||
msg_ok "Installed ESPHome"
 | 
					msg_ok "Installed ESPHome"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					@ -39,7 +40,7 @@ Description=ESPHome Dashboard
 | 
				
			||||||
After=network.target
 | 
					After=network.target
 | 
				
			||||||
 | 
					
 | 
				
			||||||
[Service]
 | 
					[Service]
 | 
				
			||||||
ExecStart=/usr/local/bin/esphome dashboard /root/.config/
 | 
					ExecStart=/usr/local/bin/esphome dashboard /root/config/
 | 
				
			||||||
Restart=always
 | 
					Restart=always
 | 
				
			||||||
User=root
 | 
					User=root
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue