From 2bc68c883f7f0bc586a347e6efc4e59ff5167dbd Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Thu, 25 Jul 2019 21:07:12 -0500 Subject: [PATCH] Update nodemgmt-scripts.sh --- nodemgmt-scripts.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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