Update nodemgmt-scripts.sh
This commit is contained in:
@@ -1183,6 +1183,7 @@ SET-PERMISSIONS(){
|
||||
${NCMD} chmod -R 750 /var/lib/gitea
|
||||
done
|
||||
else
|
||||
DIVIDER
|
||||
if [ "${1}" != "" ]; then
|
||||
NEW_SITE=${1}
|
||||
echo -e "${idsCL[Yellow]}Setting new site folder permissions for (/var/www/${NEW_SITE})${idsCL[Default]}"
|
||||
@@ -1494,7 +1495,7 @@ GUI(){
|
||||
done
|
||||
}
|
||||
if [ ${action-x} ]; then
|
||||
if [[ "${noheader}" != *" ${action} "* ]] && [[ "${noheader}" != *" ${2} "* ]] && [ "${2}" != "q" ] && [ "${2}" = "q" ]; then
|
||||
if [[ "${noheader}" != *" ${action} "* ]] && [[ "${noheader}" != *" ${2} "* ]] && [ "${2}" != "q" ]; then
|
||||
DISP_HEADER
|
||||
fi
|
||||
case $action in
|
||||
@@ -1512,7 +1513,7 @@ if [ ${action-x} ]; then
|
||||
backup) BACKUP;;
|
||||
status) STATUS ${2};;
|
||||
status-check) STATUS-CHECK ${2};;
|
||||
set-permissions) DIVIDER; SET-PERMISSIONS ${2};;
|
||||
set-permissions) SET-PERMISSIONS ${2};;
|
||||
service) SERVICE ${2} ${3};;
|
||||
services) SERVICES;;
|
||||
haproxy-config) HAPROXY-CONFIG;;
|
||||
|
||||
Reference in New Issue
Block a user