Update nodemgmt-scripts.sh
This commit is contained in:
@@ -54,9 +54,9 @@ case "$1" in
|
|||||||
;;
|
;;
|
||||||
|
|
||||||
delsite)
|
delsite)
|
||||||
|
DEL_SITE=${2}
|
||||||
echo -e "${idsCL[LightRed]}Deleting site '${idsCL[Red]}${DEL_SITE}${idsCL[LightRed]}'...${idsCL[Default]}"
|
echo -e "${idsCL[LightRed]}Deleting site '${idsCL[Red]}${DEL_SITE}${idsCL[LightRed]}'...${idsCL[Default]}"
|
||||||
echo ""
|
echo ""
|
||||||
DEL_SITE=${2}
|
|
||||||
rm -f /etc/nginx/sites-available/${DEL_SITE}.conf
|
rm -f /etc/nginx/sites-available/${DEL_SITE}.conf
|
||||||
rm -f /etc/nginx/sites-enabled/${DEL_SITE}.conf
|
rm -f /etc/nginx/sites-enabled/${DEL_SITE}.conf
|
||||||
rm -rf /var/www/${DEL_SITE}
|
rm -rf /var/www/${DEL_SITE}
|
||||||
|
|||||||
Reference in New Issue
Block a user