From 81133a0ce718ed1e155416cb4ad80a6a1f54c9c4 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sat, 16 Dec 2023 15:03:37 -0600 Subject: [PATCH] Update nodemgmt-scripts.sh --- nodemgmt-scripts.sh | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index fc7896fd..5e8f8932 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -1129,11 +1129,10 @@ GUI(){ nginxupdate) echo for nfile in ${NM_NGINXPATH}/sites-enabled/*.conf; do - echo ${nfile/.conf/} - # echo -en "Converting site: ${nfile##*/} ... " - # mv -f ${nfile} ${NM_NGINXPATH}/sites-available/${nfile##*/} - # ln -s ${NM_NGINXPATH}/sites-available/${nfile##*/} ${nfile} - # echo "Done" + echo -en "Converting site: ${nfile##*/} ... " + mv -f ${nfile} ${NM_NGINXPATH}/sites-available/${nfile##*/} + ln -s ${NM_NGINXPATH}/sites-available/${nfile##*/} ${nfile/.conf/} + echo "Done" done # SERVICE_MGMT nginx restart ;;