Update install.sh

merge-requests/1/head
RaspbianProyect by HP3ICC 3 years ago
parent 19c9eac2a8
commit ee4c09b75a

@ -655,7 +655,6 @@ Type=simple
Restart=always Restart=always
RestartSec=3 RestartSec=3
StandardOutput=null StandardOutput=null
ExecStartPre=/bin/sh -c 'until ping -c1 noip.com; do sleep 1; done;'
ExecStart=/usr/bin/python3 /opt/FreeDMR/hotspot_proxy_v2.py -c /opt/FreeDMR/proxy.cfg ExecStart=/usr/bin/python3 /opt/FreeDMR/hotspot_proxy_v2.py -c /opt/FreeDMR/proxy.cfg
[Install] [Install]
@ -673,7 +672,6 @@ Type=simple
Restart=always Restart=always
RestartSec=3 RestartSec=3
StandardOutput=null StandardOutput=null
ExecStartPre=/bin/sh -c 'until ping -c1 noip.com; do sleep 1; done;'
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/bridge_master.py -c /opt/FreeDMR/config/FreeDMR.cfg -r /opt/FreeDMR/config/rules.py
[Install] [Install]
@ -691,8 +689,8 @@ StandardOutput=null
WorkingDirectory=/opt/FreeDMR WorkingDirectory=/opt/FreeDMR
RestartSec=3 RestartSec=3
ExecStart=/usr/bin/python3 /opt/FreeDMR/playback.py -c /opt/FreeDMR/playback.cfg ExecStart=/usr/bin/python3 /opt/FreeDMR/playback.py -c /opt/FreeDMR/playback.cfg
#/usr/bin/python3 /opt/HBlink3/playback.py -c /opt/HBlink3/playback.cfg
Restart=on-abort Restart=on-abort
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target
EOF EOF
@ -727,7 +725,6 @@ Restart=always
RestartSec=3 RestartSec=3
StandardOutput=null StandardOutput=null
WorkingDirectory=/opt/FDMR-Monitor WorkingDirectory=/opt/FDMR-Monitor
ExecStartPre=/bin/sh -c 'until ping -c1 noip.com; do sleep 1; done;'
ExecStart=python3 /opt/FDMR-Monitor/monitor.py ExecStart=python3 /opt/FDMR-Monitor/monitor.py
Restart=on-abort Restart=on-abort
@ -767,6 +764,8 @@ sudo nano /opt/FDMR-Monitor/fdmr-mon.cfg ;;
4) 4)
sudo nano /lib/systemd/system/http.server-fdmr.service && systemctl daemon-reload && systemctl restart http.server-fdmr.service ;; sudo nano /lib/systemd/system/http.server-fdmr.service && systemctl daemon-reload && systemctl restart http.server-fdmr.service ;;
5) 5)
sudo systemctl start mariadb.service
sudo systemctl enable mariadb.service
sudo systemctl stop fdmrparrot.service sudo systemctl stop fdmrparrot.service
sudo systemctl start fdmrparrot.service sudo systemctl start fdmrparrot.service
sudo systemctl enable fdmrparrot.service sudo systemctl enable fdmrparrot.service
@ -777,6 +776,8 @@ sudo systemctl stop freedmr.service
sudo systemctl start freedmr.service sudo systemctl start freedmr.service
sudo systemctl enable freedmr.service ;; sudo systemctl enable freedmr.service ;;
6) 6)
sudo systemctl start mariadb.service
sudo systemctl enable mariadb.service
sudo systemctl stop fdmr_mon.service sudo systemctl stop fdmr_mon.service
sudo systemctl start fdmr_mon.service sudo systemctl start fdmr_mon.service
sudo systemctl enable fdmr_mon.service sudo systemctl enable fdmr_mon.service
@ -789,7 +790,9 @@ sudo systemctl disable fdmrparrot.service
sudo systemctl stop proxy.service sudo systemctl stop proxy.service
sudo systemctl disable proxy.service sudo systemctl disable proxy.service
sudo systemctl stop freedmr.service sudo systemctl stop freedmr.service
sudo systemctl disable freedmr.service ;; sudo systemctl disable freedmr.service
sudo systemctl stop mariadb.service
sudo systemctl disable mariadb.service ;;
8) 8)
sudo systemctl stop fdmr_mon.service sudo systemctl stop fdmr_mon.service
sudo systemctl disable fdmr_mon.service sudo systemctl disable fdmr_mon.service

Loading…
Cancel
Save

Powered by TurnKey Linux.