summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2014-01-17 18:38:37 -0500
committerLuke Shumaker <LukeShu@sbcglobal.net>2014-01-17 18:38:37 -0500
commit770641204c1f8ba4b6d7f1ab31b0c3b1921e3166 (patch)
treebd3046fe0fcf78ac01302729d641188003ed2e7f
parent98293466445922c5088b1243708b012acf69ac29 (diff)
parabolaweb-fcgi: change how it is configuredv20140117
-rwxr-xr-xparabolaweb-fcgi7
-rw-r--r--parabolaweb.conf6
2 files changed, 5 insertions, 8 deletions
diff --git a/parabolaweb-fcgi b/parabolaweb-fcgi
index 570528d..431c371 100755
--- a/parabolaweb-fcgi
+++ b/parabolaweb-fcgi
@@ -19,8 +19,5 @@
[[ -e "${WEBDIR}/manage.py" ]]
-sudo -u "${WEBUSER:-$USER}" python2 "${WEBDIR}/manage.py" runfcgi \
- host=${HOST} \
- port=${PORT} \
- --settings=settings \
- "$@"
+sudo -u "${WEBUSER:-$USER}" python2 \
+ "${WEBDIR}/manage.py" runfcgi "${FCGIARGS[@]}" --settings=settings "$@"
diff --git a/parabolaweb.conf b/parabolaweb.conf
index bb0e51c..1dd696d 100644
--- a/parabolaweb.conf
+++ b/parabolaweb.conf
@@ -1,11 +1,11 @@
-HOST=127.0.0.1
-PORT=8090 # 80 is nginx
WEBUSER=nobody
-
WEBDIR=/srv/http/web
GITURL='git://projects.parabolagnulinux.org/parabolaweb.git#branch=master'
RUNMAKE=false
+FCGIARGS=(host=127.0.0.1 port=8090)
+#FCGIARGS=(socket=/run/parabolaweb.sock)
+
INOTIFYARGS=('/srv/ftp/%(repo)s/os/%(arch)s/')