From 6089145e1ecea596e1fdd39252b1913e3b1fbdbe Mon Sep 17 00:00:00 2001 From: Esteban Mackay Q Date: Sat, 22 Jul 2023 10:11:41 -0500 Subject: [PATCH] Update update.sh --- update.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/update.sh b/update.sh index 3f8ee37..bef1c9e 100644 --- a/update.sh +++ b/update.sh @@ -899,6 +899,12 @@ then systemctl start proxy.service systemctl start http.server-fdmr.service fi +if sudo systemctl status http.server-fdmr2.service |grep "service; enabled;" >/dev/null 2>&1 +then + sh /opt/extra-3.sh + systemctl start fdmr_mon2.service + systemctl start http.server-fdmr2.service +fi EOFB1 ######################################### FDMR-Monitor2 Update ############################################################### @@ -1020,6 +1026,13 @@ then echo "proxy ready" else sudo systemctl restart proxy.service +fi +if sudo systemctl status http.server-fdmr.service |grep "service; enabled;" >/dev/null 2>&1 +then + sh /opt/extra-2.sh + systemctl start fdmr_mon.service + systemctl start proxy.service + systemctl start http.server-fdmr.service fi if sudo systemctl status http.server-fdmr2.service |grep "service; enabled;" >/dev/null 2>&1 then