summaryrefslogtreecommitdiff
path: root/libre/parabolaweb-utils/parabolaweb-fcgi
blob: 3dec02e1013084f3a92292255e69d7fd154fb73f (plain)
1
2
3
4
5
6
7
8
9
10
11
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 \
	"$@"