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