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
fi
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
# install dependencies

34
vars
View File

@@ -1,24 +1,24 @@
# django project settings
user="centos"
projectname="mysite"
hostname="centos.duco.net"
letsencrypt=False
export user="centos"
export projectname="mysite"
export hostname="centos.duco.net"
export letsencrypt=False
# set True if CentOS minimal install
install_epel_release=False
export install_epel_release=False
# general install settings
logdir="/var/log/djangosetup/"
yumlogloc=$logdir"yum.log"
yumlogmsg="See $yumlogloc for more info."
firelogloc=$logdir"firewall.log"
firelogmsg="See $firelogloc for more info."
pylogloc=$logdir"python.log"
pylogmsg="See $pylogloc for more info."
djalogloc=$logdir"django.log"
djamsg="See $djalogloc for more info."
gunicornlogloc=$logdir"gunicorn.log"
nginxlogloc=$logdir"nginx.log"
export logdir="/var/log/djangosetup/"
export yumlogloc=$logdir"yum.log"
export yumlogmsg="See $yumlogloc for more info."
export firelogloc=$logdir"firewall.log"
export firelogmsg="See $firelogloc for more info."
export pylogloc=$logdir"python.log"
export pylogmsg="See $pylogloc for more info."
export djalogloc=$logdir"django.log"
export djamsg="See $djalogloc for more info."
export gunicornlogloc=$logdir"gunicorn.log"
export nginxlogloc=$logdir"nginx.log"
# 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"