mirror of
https://github.com/community-scripts/ProxmoxVE
synced 2025-02-09 01:09:16 +00:00
add pnpm build
This commit is contained in:
parent
d883b6d398
commit
7465e20c1e
@ -52,6 +52,7 @@ function update_script() {
|
|||||||
rm -rf /opt/zigbee2mqtt/data
|
rm -rf /opt/zigbee2mqtt/data
|
||||||
mv /opt/z2m_backup/data /opt/zigbee2mqtt
|
mv /opt/z2m_backup/data /opt/zigbee2mqtt
|
||||||
cd /opt/zigbee2mqtt
|
cd /opt/zigbee2mqtt
|
||||||
|
pnpm build &>/dev/null
|
||||||
pnpm install --frozen-lockfile &>/dev/null
|
pnpm install --frozen-lockfile &>/dev/null
|
||||||
msg_info "Starting Service"
|
msg_info "Starting Service"
|
||||||
systemctl start zigbee2mqtt
|
systemctl start zigbee2mqtt
|
||||||
|
Loading…
Reference in New Issue
Block a user