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 \