8 lines
263 B
Bash
8 lines
263 B
Bash
|
#!/bin/sh
|
||
|
|
||
|
USER=healthcheck
|
||
|
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
|
||
|
echo $?
|