diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index f22784c2..6d9d517b 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -163,10 +163,10 @@ STATUS(){ if [ "$(${NCMD} systemctl is-active ${srvc})" != "active" ]; then if [ ! -f ${FOLDER}/${nip}-${srvc}.down ]; then if [ "${srvc}" == "gitea" ]; then - SERVICE gitea stop q - SET-PERMISSIONS gitea q - SERVICE gitea start q if [ "$(${NCMD} systemctl is-active ${srvc})" != "active" ]; then + SERVICE gitea stop q + SET-PERMISSIONS gitea q + SERVICE gitea start q if [ "${ST_ACTION}" != "check" ]; then echo -e "${idsCL[Red]}Not Running - could not fix${idsCL[Default]}" fi