|
|
|
|
@ -49,7 +49,7 @@ sed -i "s/SUBSCRIBER_URL:.*/SUBSCRIBER_URL: http:\/\/datafiles.ddns.net:8888\/us
|
|
|
|
|
sed -i "s/TGID_URL:.*/TGID_URL: http:\/\/datafiles.ddns.net:8888\/talkgroup_ids.json/g" /opt/FreeDMR-Bridge/FreeDMR-SAMPLE.cfg
|
|
|
|
|
sed -i "s/PEER_FILE:.*/PEER_FILE: rptrs.json/g" /opt/FreeDMR-Bridge/FreeDMR-SAMPLE.cfg
|
|
|
|
|
sed -i "s/EER_URL:.*/PEER_URL: https:\/\/database.radioid.net\/static\/rptrs.json/g" /opt/FreeDMR-Bridge/FreeDMR-SAMPLE.cfg
|
|
|
|
|
|
|
|
|
|
sed -i '220s/20/50/' /opt/FreeDMR-Bridge/hotspot_proxy_v2.py
|
|
|
|
|
cp /opt/FreeDMR-Bridge/FreeDMR-SAMPLE.cfg /opt/FreeDMR-Bridge/config/FreeDMR.cfg
|
|
|
|
|
sudo cat > /opt/FreeDMR-Bridge/proxy.cfg <<- "EOF"
|
|
|
|
|
[PROXY]
|
|
|
|
|
@ -461,7 +461,7 @@ After=multi-user.target
|
|
|
|
|
#Restart=always
|
|
|
|
|
#RestartSec=3
|
|
|
|
|
#StandardOutput=null
|
|
|
|
|
ExecStart=/usr/bin/python3 /opt/FDMR-Monitor-B/hotspot_proxy_v2.py -c /opt/FDMR-Monitor-B/proxy.cfg
|
|
|
|
|
ExecStart=/usr/bin/python3 /opt/FreeDMR-Bridge/hotspot_proxy_v2.py -c /opt/FreeDMR-Bridge/proxy.cfg
|
|
|
|
|
Restart=on-failure
|
|
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
|
|