forked from 0x2620/pandora
compile as pandora user
This commit is contained in:
parent
bb1c15e2c0
commit
3d6f15a271
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ script
|
||||||
test -e /var/log/pandora || (mkdir -p /var/log/pandora && chown $USER:$USER /var/log/pandora)
|
test -e /var/log/pandora || (mkdir -p /var/log/pandora && chown $USER:$USER /var/log/pandora)
|
||||||
test -e /var/run/pandora || (mkdir -p /var/run/pandora && chown $USER:$USER /var/run/pandora)
|
test -e /var/run/pandora || (mkdir -p /var/run/pandora && chown $USER:$USER /var/run/pandora)
|
||||||
cd $VENV/pandora
|
cd $VENV/pandora
|
||||||
./manage.py compile_pyc
|
/usr/bin/sudo -u $USER ./manage.py compile_pyc
|
||||||
exec /usr/bin/sudo -u $USER $VENV/bin/gunicorn_django \
|
exec /usr/bin/sudo -u $USER $VENV/bin/gunicorn_django \
|
||||||
--bind 127.0.0.1:2620 \
|
--bind 127.0.0.1:2620 \
|
||||||
--timeout 90 \
|
--timeout 90 \
|
||||||
|
|
Loading…
Reference in a new issue