Update nodemgmt-scripts.sh
This commit is contained in:
@@ -580,7 +580,7 @@ NIGHTLYRENEW(){
|
||||
LISTCERTS(){
|
||||
if [ ! -z ${LOCAL_SERVICES+x} ]; then
|
||||
NCMD='ssh root@10.5.10.51'
|
||||
ssh username@server "for certdir in /etc/letsencrypt/live/*/ ; do echo $certdir; done" > log
|
||||
${NCMD} "for certdir in /etc/letsencrypt/live/*/ ; do echo $certdir; done" > log
|
||||
for line in $(<log); do
|
||||
echo $line
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user