Update fdmr.sh

This commit is contained in:
RaspbianProyect by HP3ICC 2023-06-03 14:37:01 +00:00
parent b1a63af56c
commit d993995319
1 changed files with 2 additions and 4 deletions

View File

@ -468,8 +468,6 @@ sudo cat > /opt/FDMR-Monitor/html/buttons.php <<- "EOF"
EOF
#
mkdir /var/www/fdmr/
cp -r /opt/FDMR-Monitor/html/* /var/www/fdmr/
sudo chown www-data:www-data /var/www/fdmr/ -R
cp /opt/FDMR-Monitor/utils/logrotate/fdmr_mon /etc/logrotate.d/
@ -674,8 +672,8 @@ sudo sed -i "s/THEME_COLOR = .*/THEME_COLOR = pro/g" /opt/FDMR-Monitor/fdmr-mon.
#sudo sed -i "s/SUBSCRIBER_URL = .*/SUBSCRIBER_URL = https:\/\/freedmr-lh.gb7fr.org.uk\/json\/subscriber_ids.json/g" /opt/FDMR-Monitor/fdmr-mon.cfg
#sudo sed -i "s/TGID_URL = .*/TGID_URL = https:\/\/freedmr.cymru\/talkgroups\/talkgroup_ids_json.php/g" /opt/FDMR-Monitor/fdmr-mon.cfg
python3 mon_db.py --create
python3 mon_db.py --update
python3 /opt/FDMR-Monitor/mon_db.py --create
python3 /opt/FDMR-Monitor/mon_db.py --update
sudo systemctl stop apache2
sudo systemctl disable apache2