Update nodemgmt-scripts.sh

This commit is contained in:
2023-01-29 09:00:06 -06:00
parent efefca0a96
commit b591eb537b

View File

@@ -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