From 76dbbf91ed078b8501daa9d673c810b320e7f9c9 Mon Sep 17 00:00:00 2001 From: tteckster Date: Thu, 30 Nov 2023 14:20:12 -0500 Subject: [PATCH] Update zwave-js-ui.sh tweak --- ct/zwave-js-ui.sh | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/ct/zwave-js-ui.sh b/ct/zwave-js-ui.sh index a3407c6c..57187eb7 100644 --- a/ct/zwave-js-ui.sh +++ b/ct/zwave-js-ui.sh @@ -65,18 +65,18 @@ function update_script() { 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 &>/dev/null \cp -R zwave-js-ui /opt/zwave-js-ui - cat </etc/systemd/system/zwave-js-ui.service - [Unit] - Description=zwave-js-ui - Wants=network-online.target - After=network-online.target - [Service] - User=root - WorkingDirectory=/opt/zwave-js-ui - ExecStart=/opt/zwave-js-ui/zwave-js-ui - [Install] - WantedBy=multi-user.target - EOF +cat </etc/systemd/system/zwave-js-ui.service +[Unit] +Description=zwave-js-ui +Wants=network-online.target +After=network-online.target +[Service] +User=root +WorkingDirectory=/opt/zwave-js-ui +ExecStart=/opt/zwave-js-ui/zwave-js-ui +[Install] +WantedBy=multi-user.target +EOF msg_ok "Updated Z-wave JS UI" msg_info "Starting Z-wave JS UI"