From b591eb537b7a80ba2b6ceec682d43c6d65296b83 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sun, 29 Jan 2023 09:00:06 -0600 Subject: [PATCH] Update nodemgmt-scripts.sh --- nodemgmt-scripts.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index a41a2762..e1e40e58 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -1005,6 +1005,11 @@ LISTCERTS_NPM(){ COPYCERTS_NPM(){ ssldir='/opt/nginx-proxy/ssl' + olddirs=$(find $ssldir -type l ! -exec test -e {} \; -print) + for od in ${olddirs[@]}; do + echo $od + done + if [ ! -z ${LOCAL_SERVICES+x} ]; then NCMD="ssh root@${LB_HOSTS[0]}" ${NCMD} rm -f /tmp/ssllist