Update nodemgmt-scripts.sh
This commit is contained in:
@@ -1504,7 +1504,10 @@ if [ ${action-x} ]; then
|
|||||||
status-check) STATUS-CHECK ${2};;
|
status-check) STATUS-CHECK ${2};;
|
||||||
set-permissions) SET-PERMISSIONS ${2};;
|
set-permissions) SET-PERMISSIONS ${2};;
|
||||||
service)
|
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
|
SERVICE gitea stop
|
||||||
SET-PERMISSIONS gitea
|
SET-PERMISSIONS gitea
|
||||||
SERVICE gitea start
|
SERVICE gitea start
|
||||||
|
|||||||
Reference in New Issue
Block a user