From d01b3c2d20584f248b197d114d4240ea715863ab Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Mon, 1 Apr 2019 09:07:59 -0500 Subject: [PATCH] Update nodemgmt-scripts.sh --- nodemgmt-scripts.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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