mirror of https://github.com/tteck/Proxmox.git
parent
6594ce2f3a
commit
76dbbf91ed
|
@ -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
|
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
|
unzip zwave-js-ui-${RELEASE}-linux.zip &>/dev/null
|
||||||
\cp -R zwave-js-ui /opt/zwave-js-ui
|
\cp -R zwave-js-ui /opt/zwave-js-ui
|
||||||
cat <<EOF >/etc/systemd/system/zwave-js-ui.service
|
cat <<EOF >/etc/systemd/system/zwave-js-ui.service
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=zwave-js-ui
|
Description=zwave-js-ui
|
||||||
Wants=network-online.target
|
Wants=network-online.target
|
||||||
After=network-online.target
|
After=network-online.target
|
||||||
[Service]
|
[Service]
|
||||||
User=root
|
User=root
|
||||||
WorkingDirectory=/opt/zwave-js-ui
|
WorkingDirectory=/opt/zwave-js-ui
|
||||||
ExecStart=/opt/zwave-js-ui/zwave-js-ui
|
ExecStart=/opt/zwave-js-ui/zwave-js-ui
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
EOF
|
EOF
|
||||||
msg_ok "Updated Z-wave JS UI"
|
msg_ok "Updated Z-wave JS UI"
|
||||||
|
|
||||||
msg_info "Starting Z-wave JS UI"
|
msg_info "Starting Z-wave JS UI"
|
||||||
|
|
Loading…
Reference in New Issue