forked from 0x2620/pandora
use $USER
This commit is contained in:
parent
67b1dd5b82
commit
574210685e
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ env HOME=/home/pandora
|
||||||
script
|
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)
|
||||||
cd $VENV/pandora
|
cd $VENV/pandora
|
||||||
exec /usr/bin/sudo -u pandora $VENV/bin/python $VENV/pandora/manage.py celeryd \
|
exec /usr/bin/sudo -u $USER $VENV/bin/python $VENV/pandora/manage.py celeryd \
|
||||||
-Q default \
|
-Q default \
|
||||||
-n pandora-default \
|
-n pandora-default \
|
||||||
-f /var/log/pandora/pandora-tasks.log \
|
-f /var/log/pandora/pandora-tasks.log \
|
||||||
|
|
Loading…
Reference in a new issue