mirror of https://gitlab.com/hp3icc/emq-TE1.git
Update menu-dvs
This commit is contained in:
parent
076ba7c738
commit
dc1c4e1179
|
|
@ -38,7 +38,7 @@ case $choix in
|
|||
#!/bin/bash
|
||||
|
||||
# Lista de servicios a reiniciar
|
||||
servicios=("md380-emu.service" "analog_bridge.service" "mmdvm_bridge.service" "nxdngateway.service" "p25gateway.service" "ysfgateway.service" "quantar_bridge.service" "ircddbgatewayd.service" "p25parrot.service" "ysfparrot.service" "nxdnparrot.service" "monit.service" "webproxy")
|
||||
servicios=("md380-emu.service" "analog_bridge.service" "mmdvm_bridge.service" "nxdngateway.service" "p25gateway.service" "ysfgateway.service" "quantar_bridge.service" "ircddbgatewayd.service" "p25parrot.service" "ysfparrot.service" "nxdnparrot.service")
|
||||
|
||||
# Recorre la lista de servicios y verifica si están activos
|
||||
for servicio in "${servicios[@]}"; do
|
||||
|
|
@ -58,7 +58,7 @@ done
|
|||
#!/bin/bash
|
||||
|
||||
# Lista de servicios a reiniciar
|
||||
servicios=("md380-emu.service" "analog_bridge.service" "mmdvm_bridge.service" "nxdngateway.service" "p25gateway.service" "ysfgateway.service" "quantar_bridge.service" "ircddbgatewayd.service" "p25parrot.service" "ysfparrot.service" "nxdnparrot.service" "monit.service" "webproxy")
|
||||
servicios=("md380-emu.service" "analog_bridge.service" "mmdvm_bridge.service" "nxdngateway.service" "p25gateway.service" "ysfgateway.service" "quantar_bridge.service" "ircddbgatewayd.service" "p25parrot.service" "ysfparrot.service" "nxdnparrot.service")
|
||||
|
||||
# Recorre la lista de servicios y verifica si están activos
|
||||
for servicio in "${servicios[@]}"; do
|
||||
|
|
@ -197,7 +197,7 @@ case $choix in
|
|||
#!/bin/bash
|
||||
|
||||
# Lista de servicios a reiniciar
|
||||
servicios=("md380-emu.service" "analog_bridge.service" "mmdvm_bridge.service" "nxdngateway.service" "p25gateway.service" "ysfgateway.service" "quantar_bridge.service" "ircddbgatewayd.service" "p25parrot.service" "ysfparrot.service" "nxdnparrot.service" "monit.service" "webproxy")
|
||||
servicios=("md380-emu.service" "analog_bridge.service" "mmdvm_bridge.service" "nxdngateway.service" "p25gateway.service" "ysfgateway.service" "quantar_bridge.service" "ircddbgatewayd.service" "p25parrot.service" "ysfparrot.service" "nxdnparrot.service")
|
||||
|
||||
# Recorre la lista de servicios y verifica si están activos
|
||||
for servicio in "${servicios[@]}"; do
|
||||
|
|
@ -217,7 +217,7 @@ done
|
|||
#!/bin/bash
|
||||
|
||||
# Lista de servicios a reiniciar
|
||||
servicios=("md380-emu.service" "analog_bridge.service" "mmdvm_bridge.service" "nxdngateway.service" "p25gateway.service" "ysfgateway.service" "quantar_bridge.service" "ircddbgatewayd.service" "p25parrot.service" "ysfparrot.service" "nxdnparrot.service" "monit.service" "webproxy")
|
||||
servicios=("md380-emu.service" "analog_bridge.service" "mmdvm_bridge.service" "nxdngateway.service" "p25gateway.service" "ysfgateway.service" "quantar_bridge.service" "ircddbgatewayd.service" "p25parrot.service" "ysfparrot.service" "nxdnparrot.service")
|
||||
|
||||
# Recorre la lista de servicios y verifica si están activos
|
||||
for servicio in "${servicios[@]}"; do
|
||||
|
|
@ -256,6 +256,12 @@ else
|
|||
sudo systemctl enable webproxy.service
|
||||
sudo systemctl stop webproxy.service
|
||||
sudo systemctl start webproxy.service
|
||||
if ! sudo systemctl status monit.service |grep "service; enabled;" >/dev/null 2>&1
|
||||
then
|
||||
sudo systemctl enable monit.service
|
||||
sudo systemctl stop monit.service
|
||||
sudo systemctl start monit.service
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
fi ;;
|
||||
|
|
@ -289,6 +295,12 @@ else
|
|||
sudo systemctl enable webproxy.service
|
||||
sudo systemctl stop webproxy.service
|
||||
sudo systemctl start webproxy.service
|
||||
if ! sudo systemctl status monit.service |grep "service; enabled;" >/dev/null 2>&1
|
||||
then
|
||||
sudo systemctl enable monit.service
|
||||
sudo systemctl stop monit.service
|
||||
sudo systemctl start monit.service
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
fi ;;
|
||||
|
|
@ -325,6 +337,12 @@ else
|
|||
sudo systemctl enable webproxy.service
|
||||
sudo systemctl stop webproxy.service
|
||||
sudo systemctl start webproxy.service
|
||||
if ! sudo systemctl status monit.service |grep "service; enabled;" >/dev/null 2>&1
|
||||
then
|
||||
sudo systemctl enable monit.service
|
||||
sudo systemctl stop monit.service
|
||||
sudo systemctl start monit.service
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
fi ;;
|
||||
|
|
|
|||
Loading…
Reference in New Issue