diff --git a/scripts/upgrade.sh b/scripts/upgrade.sh index f509c3e2..f37d3f5a 100755 --- a/scripts/upgrade.sh +++ b/scripts/upgrade.sh @@ -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 :(