upgrade.sh will restart help service, even on failure.

This commit is contained in:
Roland 2025-12-06 13:35:32 -07:00 • committed by lrnselfreliance
parent cbd4922049
commit 3e3ab04f4d

View file

@ -4,6 +4,9 @@
set -e
set -x
# Ensure help service is always restarted, even on failure
trap 'systemctl restart wrolpi-help.service || :' EXIT
# Install any App dependencies.
cd /opt/wrolpi/app || exit 1
npm install || npm install || npm install || npm install # try install multiple times :(