summaryrefslogtreecommitdiff
path: root/parabolaweb-fcgi
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2012-10-22 09:56:33 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2012-10-22 09:56:33 -0400
commitb27f7f38470297397a50e6fe810ccd908dc19fb7 (patch)
tree8015483e70242f15dc0c84c2d99d85bd85ab54d0 /parabolaweb-fcgi
parentf3e2ecc55ffd3c218515436843e4e6493825441f (diff)
improve libre/parabolaweb-utils
filesystem: * parabolaweb{-fcgi,-update,.conf}: make the installation directory configurable * parabolaweb.{rc,service}: take care of file-permissions with the pidfile
Diffstat (limited to 'parabolaweb-fcgi')
-rw-r--r--parabolaweb-fcgi4
1 files changed, 2 insertions, 2 deletions
diff --git a/parabolaweb-fcgi b/parabolaweb-fcgi
index 3dec02e..e42aec3 100644
--- a/parabolaweb-fcgi
+++ b/parabolaweb-fcgi
@@ -3,9 +3,9 @@ set -e
. /etc/conf.d/parabolaweb
-[[ -e /srv/http/web/manage.py ]]
+[[ -e ${WEBDIR}/manage.py ]]
-sudo -u "${WEBUSER:-$USER}" python2 /srv/http/web/manage.py runfcgi \
+sudo -u "${WEBUSER:-$USER}" python2 "${WEBDIR}/manage.py" runfcgi \
host=${HOST} \
port=${PORT} \
--settings=settings \