From 18af21a1cc202f96bab9ee56082d99992f93f6ab Mon Sep 17 00:00:00 2001 From: tteckster Date: Sat, 25 Mar 2023 09:25:12 -0400 Subject: [PATCH] Update alpine-esphome-install.sh --- install/alpine-esphome-install.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/install/alpine-esphome-install.sh b/install/alpine-esphome-install.sh index b8dbf590..e189e9a2 100644 --- a/install/alpine-esphome-install.sh +++ b/install/alpine-esphome-install.sh @@ -26,22 +26,20 @@ msg_info "Installing Alpine-ESPHome" $STD apk add py3-pip $STD pip3 install esphome $STD pip3 install tornado esptool -RC_SVCNAME="esphome" cat </etc/init.d/esphome #!/sbin/openrc-run name="esphome" description="ESPHome Service" -RC_SVCNAME="esphome" command="/usr/bin/esphome /root/config/ dashboard" -pidfile="/run/$RC_SVCNAME/pid" +pidfile="/run/esphome/pid" depend() { need net } start_pre() { - checkpath --directory --mode 0755 /run/$RC_SVCNAME + checkpath --directory --mode 0755 /run/esphome } start() {