There was an error while loading. Please reload this page.
1 parent eb5e0b2 commit 73a5ed7Copy full SHA for 73a5ed7
1 file changed
functions/nodejs-apps.bash
@@ -310,10 +310,8 @@ EOF
310
cd /opt/zigbee2mqtt || (echo "FAILED (cd)"; return 1)
311
cond_redirect sudo -u "${username:-openhabian}" pnpm install --frozen-lockfile --ignore-scripts=false
312
313
- if [ "$(basename "$(ps -o comm= 1)")" = "systemd" ]; then
314
- systemctl daemon-reload
315
- systemctl enable --now zigbee2mqtt.service
316
- fi
+ systemctl daemon-reload
+ systemctl enable --now zigbee2mqtt.service
317
318
[[ -n $INTERACTIVE ]] && whiptail --title "Operation successful" --msgbox "$installSuccessText" 15 80
319
}
0 commit comments