mirror of
https://github.com/nextcloud/nextcloudpi.git
synced 2026-01-09 06:32:00 -03:30
armbian.sh: Test starting redis if install fails
This commit is contained in:
parent
2debc54186
commit
5dcd4b1ff6
@ -36,6 +36,7 @@ hostname -F /etc/hostname # fix 'sudo resolve host' errors
|
||||
CODE_DIR="$(pwd)" DBG=x bash install.sh || {
|
||||
echo "SOMETHING WENT WRONG, EXITING..."
|
||||
! [ -f /var/log/redis.log ] || cat /var/log/redis.log
|
||||
sudo -u redis redis-server /etc/redis/redis.conf
|
||||
sleep 120
|
||||
exit 1
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user