add export to vars

This commit is contained in:
ducoterra
2018-09-16 19:00:38 -04:00
parent 4c27ac1b4d
commit 89d720e6ea
2 changed files with 19 additions and 19 deletions

View File

@@ -18,7 +18,7 @@ if [ ! -d $logdir ] ; then
mkdir $logdir mkdir $logdir
fi fi
if [ $install_epel_release=True ] ; then if [ $install_epel_release=True ] ; then
yum -y install epel-release 1>> $yumlogloc 2>> $yumlogloc 3>> $pylogloc yum -y install epel-release 1>> $yumlogloc 2>> $yumlogloc 3>> $yumlogloc
fi fi
# install dependencies # install dependencies

34
vars
View File

@@ -1,24 +1,24 @@
# django project settings # django project settings
user="centos" export user="centos"
projectname="mysite" export projectname="mysite"
hostname="centos.duco.net" export hostname="centos.duco.net"
letsencrypt=False export letsencrypt=False
# set True if CentOS minimal install # set True if CentOS minimal install
install_epel_release=False export install_epel_release=False
# general install settings # general install settings
logdir="/var/log/djangosetup/" export logdir="/var/log/djangosetup/"
yumlogloc=$logdir"yum.log" export yumlogloc=$logdir"yum.log"
yumlogmsg="See $yumlogloc for more info." export yumlogmsg="See $yumlogloc for more info."
firelogloc=$logdir"firewall.log" export firelogloc=$logdir"firewall.log"
firelogmsg="See $firelogloc for more info." export firelogmsg="See $firelogloc for more info."
pylogloc=$logdir"python.log" export pylogloc=$logdir"python.log"
pylogmsg="See $pylogloc for more info." export pylogmsg="See $pylogloc for more info."
djalogloc=$logdir"django.log" export djalogloc=$logdir"django.log"
djamsg="See $djalogloc for more info." export djamsg="See $djalogloc for more info."
gunicornlogloc=$logdir"gunicorn.log" export gunicornlogloc=$logdir"gunicorn.log"
nginxlogloc=$logdir"nginx.log" export nginxlogloc=$logdir"nginx.log"
# python settings # python settings
pylink="https://www.python.org/ftp/python/3.7.0/Python-3.7.0.tar.xz" export pylink="https://www.python.org/ftp/python/3.7.0/Python-3.7.0.tar.xz"