From 3d6f15a271e5b933764e0d16581585d329af3db2 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Tue, 7 May 2013 16:40:45 +0000 Subject: [PATCH] compile as pandora user --- etc/init/pandora.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/init/pandora.conf b/etc/init/pandora.conf index 4ff7a463..6c363957 100644 --- a/etc/init/pandora.conf +++ b/etc/init/pandora.conf @@ -16,7 +16,7 @@ script 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) 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 \ --bind 127.0.0.1:2620 \ --timeout 90 \