update to nationwide standard

This commit is contained in:
welld1
2018-09-27 21:58:28 -04:00
parent 7eb5e57047
commit f111005cc2
5 changed files with 163 additions and 158 deletions

View File

@@ -1,9 +1,13 @@
################################################################################
# Performs a FULL uninstall #
################################################################################
# source vars
source ./vars
# remove nginx conf
tput setaf 2
echo "Uninstalling nginx"
echo "Disabling nginx"
tput setaf 9
systemctl stop nginx 1> /dev/null 2> /dev/null
systemctl disable nginx 1> /dev/null 2> /dev/null
@@ -41,4 +45,4 @@ do
if [ $? -ne 0 ] ; then
echo -e "\tyum failed to remove $package."
fi
done
done