diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index 200512c2..e30264a7 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -1504,7 +1504,10 @@ if [ ${action-x} ]; then status-check) STATUS-CHECK ${2};; set-permissions) SET-PERMISSIONS ${2};; service) - if [ "$2" = "gitea" ] && [ "$3" = "restart" ]; then + if [ "$2" = "gitea" ] && [ "$3" = "start" ]; then + SET-PERMISSIONS gitea + SERVICE gitea start + elif [ "$2" = "gitea" ] && [ "$3" = "restart" ]; then SERVICE gitea stop SET-PERMISSIONS gitea SERVICE gitea start