Update nodemgmt-scripts.sh
This commit is contained in:
@@ -163,10 +163,10 @@ STATUS(){
|
|||||||
if [ "$(${NCMD} systemctl is-active ${srvc})" != "active" ]; then
|
if [ "$(${NCMD} systemctl is-active ${srvc})" != "active" ]; then
|
||||||
if [ ! -f ${FOLDER}/${nip}-${srvc}.down ]; then
|
if [ ! -f ${FOLDER}/${nip}-${srvc}.down ]; then
|
||||||
if [ "${srvc}" == "gitea" ]; 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
|
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
|
if [ "${ST_ACTION}" != "check" ]; then
|
||||||
echo -e "${idsCL[Red]}Not Running - could not fix${idsCL[Default]}"
|
echo -e "${idsCL[Red]}Not Running - could not fix${idsCL[Default]}"
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user