Update fdmr-update.sh
This commit is contained in:
parent
84d303e804
commit
89b547473e
|
|
@ -2,6 +2,7 @@ cd /
|
|||
variable=$(grep "SERVER_ID:" /opt/FreeDMR/config/FreeDMR.cfg | tail -c 5)
|
||||
sudo systemctl stop freedmr.service
|
||||
sudo systemctl stop proxy.service
|
||||
sudo systemctl stop fdmrparrot.service
|
||||
rm -r /opt/FreeDMR
|
||||
cd /opt
|
||||
git clone https://gitlab.hacknix.net/hacknix/FreeDMR.git
|
||||
|
|
@ -146,7 +147,8 @@ sudo sh /opt/extra-1.sh
|
|||
sudo systemctl daemon-reload
|
||||
sudo systemctl start proxy.service
|
||||
sudo systemctl start freedmr.service
|
||||
sudo systemctl restart fdmrparrot.service
|
||||
sudo systemctl start fdmrparrot.service
|
||||
sudo systemctl restart fdmr_mon.service
|
||||
# ExecStart=/usr/bin/python3 /opt/FreeDMR/bridge_master.py -c /opt/FreeDMR/config/FreeDMR.cfg -r /opt/FreeDMR/config/rules.py
|
||||
|
||||
# ExecStart=/usr/bin/python3 /opt/FreeDMR/playback.py -c /opt/FreeDMR/playback.cfg
|
||||
|
|
|
|||
Loading…
Reference in New Issue