Subversion Repositories ALCASAR

Rev

Rev 2868 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log

Rev 2868 Rev 2870
Line 1... Line 1...
1
#!/bin/bash
1
#!/bin/bash
2
# $Id: alcasar-uninstall.sh 2868 2020-10-26 21:22:24Z rexy $
2
# $Id: alcasar-uninstall.sh 2870 2020-10-27 23:16:41Z rexy $
3
 
3
 
4
# alcasar-uninstall.sh
4
# alcasar-uninstall.sh
5
# by Franck BOUIJOUX, Pascal LEVANT and Richard REY
5
# by Franck BOUIJOUX, Pascal LEVANT and Richard REY
6
# This script is distributed under the Gnu General Public License (GPL)
6
# This script is distributed under the Gnu General Public License (GPL)
7
 
7
 
Line 290... Line 290...
290
        echo "--------------------------------------------------------------------------"
290
        echo "--------------------------------------------------------------------------"
291
        echo "**                     update/mise à jour d'ALCASAR                      **"
291
        echo "**                     update/mise à jour d'ALCASAR                      **"
292
        echo "--------------------------------------------------------------------------"
292
        echo "--------------------------------------------------------------------------"
293
        # unbound, iptables & sshd should stay on to allow remote update
293
        # unbound, iptables & sshd should stay on to allow remote update
294
        services="alcasar-load_balancing vnstat clamav-daemon clamav-freshclam ntpd php-fpm lighttpd radiusd mysqld unbound-blacklist unbound-whitelist dnsmasq-whitelist unbound-blackhole nfcapd fail2ban ulogd-ext-access ulogd-ssh ulogd-traceability e2guardian chilli"
294
        services="alcasar-load_balancing vnstat clamav-daemon clamav-freshclam ntpd php-fpm lighttpd radiusd mysqld unbound-blacklist unbound-whitelist dnsmasq-whitelist unbound-blackhole nfcapd fail2ban ulogd-ext-access ulogd-ssh ulogd-traceability e2guardian chilli"
295
        /usr/local/bin/alcasar-bypass.sh -on # to allow remote update
295
        /usr/local/bin/alcasar-bypass.sh -on # to allow remote update + users stay connected during the update
296
fi
296
fi
297
 
297
 
298
echo "Stopping services : "
298
echo "Stopping services : "
299
# remove daemon watchdog in order to not restart alcasar daemons during the uninstall process
299
# remove daemon watchdog in order to not restart alcasar daemons during the uninstall process
300
[ -e /etc/cron.d/alcasar-daemon-watchdog ] && rm -f /etc/cron.d/alcasar-daemon-watchdog
300
[ -e /etc/cron.d/alcasar-daemon-watchdog ] && rm -f /etc/cron.d/alcasar-daemon-watchdog