diff options
author | Márcio Alexandre Silva Delgado <coadde@lavabit.com> | 2012-10-21 19:51:39 -0200 |
---|---|---|
committer | Márcio Alexandre Silva Delgado <coadde@lavabit.com> | 2012-10-21 19:51:39 -0200 |
commit | ee7f9096475e0ea57d9326d087f94e3df4c6512b (patch) | |
tree | 0e9b42a4cb590b3c59632a91b519e0bacac38bd3 /libre/parabolaweb-utils/parabolaweb-fcgi | |
parent | b4ce63a23bfc79192dfc546c4196ec651dd31393 (diff) | |
parent | b09b1d60e80ef66c0817fcc7466a20ec5a365520 (diff) | |
download | abslibre-ee7f9096475e0ea57d9326d087f94e3df4c6512b.tar.gz abslibre-ee7f9096475e0ea57d9326d087f94e3df4c6512b.tar.bz2 abslibre-ee7f9096475e0ea57d9326d087f94e3df4c6512b.zip |
Merge branch 'master' of ssh://parabolagnulinux.org:1863/srv/git/abslibre
Diffstat (limited to 'libre/parabolaweb-utils/parabolaweb-fcgi')
-rw-r--r-- | libre/parabolaweb-utils/parabolaweb-fcgi | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/libre/parabolaweb-utils/parabolaweb-fcgi b/libre/parabolaweb-utils/parabolaweb-fcgi new file mode 100644 index 000000000..3dec02e10 --- /dev/null +++ b/libre/parabolaweb-utils/parabolaweb-fcgi @@ -0,0 +1,12 @@ +#!/bin/sh +set -e + +. /etc/conf.d/parabolaweb + +[[ -e /srv/http/web/manage.py ]] + +sudo -u "${WEBUSER:-$USER}" python2 /srv/http/web/manage.py runfcgi \ + host=${HOST} \ + port=${PORT} \ + --settings=settings \ + "$@" |