Update nodemgmt-scripts.sh
This commit is contained in:
1 parent
6b5ff6708a
commit
90c018e5c4
1 file changed
+1
-1
+1
-1
@@ -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