add export to vars
This commit is contained in:
@@ -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
34
vars
@@ -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"
|
||||
Reference in New Issue
Block a user