mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-10-26 19:01:39 -04:00
upgrade.sh will restart help service, even on failure.
This commit is contained in:
parent
cbd4922049
commit
3e3ab04f4d
1 changed files with 3 additions and 0 deletions
|
|
@ -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 :(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue