mirror of
https://github.com/EV21/uberspace-helper.git
synced 2026-10-07 20:33:18 +02:00
fix(Nextcloud): wait until notify service has started
This commit is contained in:
1 file changed
+4
-1
@@ -240,7 +240,10 @@ end_of_content
|
||||
supervisorctl update
|
||||
supervisorctl status
|
||||
uberspace web backend set /push --http --port 7867
|
||||
uberspace web backend list
|
||||
local fail_counter=0
|
||||
while (uberspace web backend list | grep "/push http:7867 => NOT OK") && test $fail_counter -lt 5
|
||||
do echo 'wait another 5 seconds for notify service'; sleep 5; ((fail_counter++))
|
||||
done
|
||||
local trusted_proxy
|
||||
trusted_proxy=$(ip route |
|
||||
tail --lines 1 | ## filter last line
|
||||
|
||||
Reference in new issue
Block a user