Update nodemgmt-scripts.sh

This commit is contained in:
2019-07-25 21:07:12 -05:00
parent f0943e9484
commit 2bc68c883f

View File

@@ -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