mirror of https://github.com/tteck/Proxmox.git
				
				
				
			Update esphome-install.sh
- create `config` directory - fixes https://github.com/tteck/Proxmox/issues/1981
This commit is contained in:
		
							parent
							
								
									e0e09f8a0b
								
							
						
					
					
						commit
						8de41a87c7
					
				| 
						 | 
					@ -26,14 +26,10 @@ $STD apt-get install -y \
 | 
				
			||||||
  python3-dev \
 | 
					  python3-dev \
 | 
				
			||||||
  python3-pip \
 | 
					  python3-pip \
 | 
				
			||||||
  python3-venv
 | 
					  python3-venv
 | 
				
			||||||
 | 
					 | 
				
			||||||
msg_ok "Updated Python3"
 | 
					msg_ok "Updated Python3"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
msg_info "Installing ESPHome"
 | 
					msg_info "Installing ESPHome"
 | 
				
			||||||
#mkdir /srv/esphome
 | 
					mkdir config
 | 
				
			||||||
#cd /srv/esphome
 | 
					 | 
				
			||||||
#python3 -m venv .
 | 
					 | 
				
			||||||
#source bin/activate
 | 
					 | 
				
			||||||
$STD pip install esphome tornado esptool
 | 
					$STD pip install esphome tornado esptool
 | 
				
			||||||
msg_ok "Installed ESPHome"
 | 
					msg_ok "Installed ESPHome"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					@ -44,7 +40,6 @@ Description=ESPHome Dashboard
 | 
				
			||||||
After=network.target
 | 
					After=network.target
 | 
				
			||||||
 | 
					
 | 
				
			||||||
[Service]
 | 
					[Service]
 | 
				
			||||||
#ExecStart=/srv/esphome/bin/esphome dashboard /root/config/
 | 
					 | 
				
			||||||
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