|
|
|
|
@ -857,10 +857,10 @@ sudo systemctl stop fdmr_mon2.service
|
|
|
|
|
|
|
|
|
|
cd /
|
|
|
|
|
if [ -d "/var/www/fdmr2" ]; then
|
|
|
|
|
sudo rm -r /var/www/fdmr2 2>/dev/null
|
|
|
|
|
rm -r /var/www/fdmr2
|
|
|
|
|
fi
|
|
|
|
|
if [ -d "/opt/FDMR-Monitor2" ];then
|
|
|
|
|
sudo rm -r /opt/FDMR-Monitor2 2>/dev/null
|
|
|
|
|
rm -r /opt/FDMR-Monitor2
|
|
|
|
|
fi
|
|
|
|
|
if [ ! -d "/var/www" ]
|
|
|
|
|
then
|
|
|
|
|
@ -908,7 +908,7 @@ if [ "$CHECK_DB" ]; then
|
|
|
|
|
fi
|
|
|
|
|
#################
|
|
|
|
|
cd /opt
|
|
|
|
|
sudo git clone https://gitlab.com/hp3icc/FDMR-Monitor2.git
|
|
|
|
|
git clone https://gitlab.com/hp3icc/FDMR-Monitor2.git
|
|
|
|
|
#sudo git clone https://github.com/CS8ABG/FDMR-Monitor.git /opt/FDMR-Monitor2
|
|
|
|
|
cd /opt/FDMR-Monitor2
|
|
|
|
|
sudo git checkout Self_Service
|
|
|
|
|
|