Update nodemgmt-scripts.sh

This commit is contained in:
2019-02-11 11:26:27 -06:00
parent 4d17b96b5d
commit 688964785b

View File

@@ -580,10 +580,10 @@ NIGHTLYRENEW(){
LISTCERTS(){
if [ ! -z ${LOCAL_SERVICES+x} ]; then
NCMD='ssh root@10.5.10.51'
${NCMD} 'for certdir in /etc/letsencrypt/live/*/ ; do echo $certdir; done'
# for line in $(<log); do
# echo "HERE: ${line}"
# done
${NCMD} 'for certdir in /etc/letsencrypt/live/*/ ; do echo $certdir; done' > /tmp/remotessl
for line in $(</tmp/remotessl); do
echo "HERE: ${line}"
done
else
NCMD=''
fi