From 342ce1229042ebd3cc62bb73095046b73ac2fe69 Mon Sep 17 00:00:00 2001 From: tteckster Date: Wed, 5 Oct 2022 20:54:32 -0400 Subject: [PATCH] Update zwave-js-ui-install.sh --- setup/zwave-js-ui-install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup/zwave-js-ui-install.sh b/setup/zwave-js-ui-install.sh index 71025daf..fd41363e 100644 --- a/setup/zwave-js-ui-install.sh +++ b/setup/zwave-js-ui-install.sh @@ -80,7 +80,7 @@ cd /opt/zwave-js-ui mkdir store RELEASE=$(curl -s https://api.github.com/repos/zwave-js/zwave-js-ui/releases/latest | grep "tag_name" | awk '{print substr($2, 2, length($2)-3) }') wget https://github.com/zwave-js/zwave-js-ui/releases/download/${RELEASE}/zwave-js-ui-${RELEASE}-linux.zip &>/dev/null -unzip zwave-js-ui-${RELEASE}-linux.zip zwave-js-ui &>/dev/null +unzip zwave-js-ui-${RELEASE}-linux.zip zwave-js-ui-linux &>/dev/null msg_ok "Installed Z-Wave JS UI" msg_info "Creating Service" @@ -92,7 +92,7 @@ After=network-online.target [Service] User=root WorkingDirectory=/opt/zwave-js-ui -ExecStart=/opt/zwave-js-ui/zwave-js-ui +ExecStart=/opt/zwave-js-ui/zwave-js-ui-linux [Install] WantedBy=multi-user.target" > $service_path systemctl start zwave-js-ui