diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2012-10-22 09:56:33 -0400 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2012-10-22 09:56:33 -0400 |
commit | 72780d31ec566cbd62df57a6ba4d8fc7bc90bf56 (patch) | |
tree | 6f07bf6a25cb8a5df26e8b9e524bddcae8f2d740 /libre/parabolaweb-utils/parabolaweb-fcgi | |
parent | 1ff7d1a6fa1690a352cafc517f6699d2897584f0 (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 'libre/parabolaweb-utils/parabolaweb-fcgi')
-rw-r--r-- | libre/parabolaweb-utils/parabolaweb-fcgi | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libre/parabolaweb-utils/parabolaweb-fcgi b/libre/parabolaweb-utils/parabolaweb-fcgi index 3dec02e10..e42aec3cd 100644 --- a/libre/parabolaweb-utils/parabolaweb-fcgi +++ b/libre/parabolaweb-utils/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 \ |