Update nodemgmt-scripts.sh
This commit is contained in:
@@ -1005,6 +1005,11 @@ LISTCERTS_NPM(){
|
|||||||
COPYCERTS_NPM(){
|
COPYCERTS_NPM(){
|
||||||
ssldir='/opt/nginx-proxy/ssl'
|
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
|
if [ ! -z ${LOCAL_SERVICES+x} ]; then
|
||||||
NCMD="ssh root@${LB_HOSTS[0]}"
|
NCMD="ssh root@${LB_HOSTS[0]}"
|
||||||
${NCMD} rm -f /tmp/ssllist
|
${NCMD} rm -f /tmp/ssllist
|
||||||
|
|||||||
Reference in New Issue
Block a user