Your ROOT_URL in app.ini is https://git.bwnetwork.us/ but you are visiting http://git.bwnetwork.us/Administrator/Proxmox_Helper_scripts/commit/642048fb6d9c2306ddea24a9d8ce6d4be20f128e?style=split&whitespace=show-all
You should set ROOT_URL correctly, otherwise the web may not work correctly.
1 changed files with
10 additions and
27 deletions
@ -27,38 +27,21 @@ $STD apk add py3-pip
$STD pip3 install esphome
$STD pip3 install esphome
$STD pip3 install tornado esptool
$STD pip3 install tornado esptool
service_path = "/etc/init.d/esphome"
echo " #!/sbin/openrc-run
echo " #!/sbin/openrc-run
name = \" esphome\"
description = \" ESPHome\"
description = \" ESPHome Dashboard\"
pidfile = \" /run/esphome.pid\"
command = \" /usr/bin/esphome /root/config/ dashboard\"
command_user = \" root\"
command_background = true
pidfile = \" /run/\$ name.pid\"
depend( ) {
need net
}
start_pre( ) {
checkpath --directory --mode 0755 /run/\$ name
}
start( ) {
start( ) {
ebegin \" Starting \$ description\"
esphome dashboard /root/esphome/config/ > /dev/null 2>& 1 &
start-stop-daemon --start --quiet --background --exec /usr/bin/esphome -- /root/config/ dashboard
echo \$ ! > \$ pidfile
eend \$ ?
}
}
stop( ) {
stop( ) {
ebegin \" Stopping \$ description\"
kill \$ ( cat \$ pidfile)
pkill esphome
rm \$ pidfile
eend \$ ?
} " > /etc/init.d/esphome
} " > $service_path
chmod 755 $service_path
chmod 755 /etc/init.d/esphome
$STD rc-update add esphome defaul t
rc-service -q esphome start
$STD /etc/init.d/esphome star t
rc-update add -q esphome default
msg_ok "Installed Alpine-ESPHome"
msg_ok "Installed Alpine-ESPHome"
motd_ssh
motd_ssh