use $USER
This commit is contained in:
parent
068fab1096
commit
be45d2bf0d
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ env HOME=/home/pandora
|
|||
script
|
||||
test -e /var/log/pandora || (mkdir -p /var/log/pandora && chown $USER:$USER /var/log/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 \
|
||||
-n pandora-default \
|
||||
-f /var/log/pandora/pandora-tasks.log \
|
||||
|
|
Loading…
Reference in a new issue