From 5e974b04331b36b23fac4235b53eaa02aa625a19 Mon Sep 17 00:00:00 2001 From: Esteban Mackay Q <49044505+hp3icc@users.noreply.github.com> Date: Wed, 7 Dec 2022 21:27:26 -0500 Subject: [PATCH] Update install.sh --- install.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/install.sh b/install.sh index 7ba404b..84c0070 100644 --- a/install.sh +++ b/install.sh @@ -424,7 +424,6 @@ sudo sed -i "s/PRIVATE_NETWORK = True/PRIVATE_NETWORK = False/g" /opt/FDMR-Moni sudo sed -i "s/TGID_URL =/#TGID_URL =/g" /opt/FDMR-Monitor/fdmr-mon_SAMPLE.cfg sed '63 a TGID_URL = https://freedmr.cymru/talkgroups/talkgroup_ids_json.php' -i /opt/FDMR-Monitor/fdmr-mon_SAMPLE.cfg sed '64 a #TGID_URL = https://freedmr.cymru/talkgroups/talkgroup_ids_flags_json.php' -i /opt/FDMR-Monitor/fdmr-mon_SAMPLE.cfg -sudo rm /opt/FDMR-Monitor/data/* cd /opt/FDMR-Monitor/ sudo rm /opt/FDMR-Monitor/install.sh wget https://raw.githubusercontent.com/hp3icc/emq-TE1ws/main/self/install.sh @@ -645,12 +644,11 @@ systemctl start proxy.service systemctl enable proxy.service systemctl start fdmrparrot.service systemctl enable fdmrparrot.service -sudo rm /opt/FDMR-Monitor/data/* sudo rm /opt/FDMR-Monitor/sysinfo/*.rrd sh /opt/FDMR-Monitor/sysinfo/rrd-db.sh (crontab -l; echo "*/5 * * * * sh /opt/FDMR-Monitor/sysinfo/graph.sh")|awk '!x[$0]++'|crontab - (crontab -l; echo "*/2 * * * * sh /opt/FDMR-Monitor/sysinfo/cpu.sh")|awk '!x[$0]++'|crontab - -(crontab -l; echo "0 3 * * * rm /opt/FDMR-Monitor/data/*")|awk '!x[$0]++'|crontab - + #(crontab -l; echo "5 3 * * * systemctl restart fdmr_mon.service")|awk '!x[$0]++'|crontab - sudo systemctl enable fdmr_mon.service sudo systemctl restart apache2.service