healthcheck timeout
This commit is contained in:
parent
dcf768fd21
commit
799895baa0
@ -3,5 +3,5 @@
|
|||||||
USER=healthcheck
|
USER=healthcheck
|
||||||
LFTP_PASSWORD=$(cat /app/healthcheck.pwd)
|
LFTP_PASSWORD=$(cat /app/healthcheck.pwd)
|
||||||
|
|
||||||
lftp -e "set ssl-allow true; set ftp:ssl-force true; set ftp:passive-mode true;set ssl:verify-certificate false;open -u ${USER},${LFTP_PASSWORD} ftp://127.0.0.1; ls ; bye" > /dev/null
|
lftp -e "set ssl-allow true; set ftp:ssl-force true; set ftp:passive-mode true; set ssl:verify-certificate false; set net:timeout 5; set net:max-retries 1; open -u ${USER},${LFTP_PASSWORD} ftp://127.0.0.1; ls; bye" > /dev/null
|
||||||
echo $?
|
echo $?
|
||||||
|
Loading…
Reference in New Issue
Block a user