Update update.sh

merge-requests/1/head
Esteban Mackay Q. 2 years ago
parent fd3a4c66e2
commit 09f2582b46

@ -741,7 +741,12 @@ then
(crontab -l | grep -v "sh /opt/FDMR-Monitor/sysinfo/graph.sh") | crontab - (crontab -l | grep -v "sh /opt/FDMR-Monitor/sysinfo/graph.sh") | crontab -
fi fi
if systemctl status proxy.service |grep "service; enabled;" >/dev/null 2>&1
then
sudo systemctl stop proxy.service
sudo systemctl start proxy.service
fi
############## ##############
sh /opt/extra-2.sh sh /opt/extra-2.sh
@ -965,6 +970,12 @@ then
(crontab -l | grep -v "sh /opt/FDMR-Monitor/sysinfo/cpu.sh") | crontab - (crontab -l | grep -v "sh /opt/FDMR-Monitor/sysinfo/cpu.sh") | crontab -
(crontab -l | grep -v "sh /opt/FDMR-Monitor/sysinfo/graph.sh") | crontab - (crontab -l | grep -v "sh /opt/FDMR-Monitor/sysinfo/graph.sh") | crontab -
fi
if systemctl status proxy.service |grep "service; enabled;" >/dev/null 2>&1
then
sudo systemctl stop proxy.service
sudo systemctl start proxy.service
fi fi
sh /opt/extra-3.sh sh /opt/extra-3.sh

Loading…
Cancel
Save

Powered by TurnKey Linux.