We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6ed2c17 commit 502a5c8Copy full SHA for 502a5c8
1 file changed
build/armbian/armbian.sh
@@ -33,7 +33,12 @@ echo -e "\nInstalling NextCloudPi"
33
34
hostname -F /etc/hostname # fix 'sudo resolve host' errors
35
36
-CODE_DIR="$(pwd)" DBG=x bash install.sh
+CODE_DIR="$(pwd)" DBG=x bash install.sh || {
37
+ echo "SOMETHING WENT WRONG, EXITING..."
38
+ ! [ -f /var/log/redis.log ] || cat /var/log/redis.log
39
+ sleep 120
40
+ exit 1
41
+}
42
43
echo -e "\nPostinstall..."
44
run_app_unsafe post-inst.sh
0 commit comments