Update nodemgmt-scripts.sh

This commit is contained in:
2022-06-27 13:01:26 -05:00
parent 319fb4ed27
commit 09e6e4bb05

View File

@@ -1869,10 +1869,10 @@ if [ ${action-x} ]; then
status-check) STATUS-CHECK ${2};;
set-permissions) SET-PERMISSIONS ${2};;
service)
if [[ "$2" = "gitea" ] || [ "$2" = "powerdns-admin" ]] && [ "$3" = "start" ]; then
if [[ ( "$2" = "gitea" ) || ( "$2" = "powerdns-admin" ) ]] && [ "$3" = "start" ]; then
SET-PERMISSIONS ${2}
SERVICE ${2} start
elif [[ "$2" = "gitea" ] || [ "$2" = "powerdns-admin" ]] && [ "$3" = "restart" ]; then
elif [[ ( "$2" = "gitea" ) || ( "$2" = "powerdns-admin" ) ]] && [ "$3" = "restart" ]; then
SERVICE ${2} stop
SET-PERMISSIONS ${2}
SERVICE ${2} start