summaryrefslogtreecommitdiff
path: root/libre/parabolaweb-utils/parabolaweb-fcgi
blob: e42aec3cd9c554bd23df478b05cc70bbc8ad15da (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh
set -e

. /etc/conf.d/parabolaweb

[[ -e ${WEBDIR}/manage.py ]]

sudo -u "${WEBUSER:-$USER}" python2 "${WEBDIR}/manage.py" runfcgi \
	host=${HOST} \
	port=${PORT} \
	--settings=settings \
	"$@"