修改日志文件夹的用户和用户组

This commit is contained in:
virusdefender 2016-04-28 21:46:20 +08:00
parent bbd4f3e963
commit f10f328431
No known key found for this signature in database
GPG Key ID: 1686FB5677979E61

View File

@ -5,6 +5,7 @@ if [ ! -f "/code/openvj/custom_settings.py" ]; then
fi
find /code -name "*.pyc" -delete
python -m compileall /code
chown -R nobody:nogroup /code/log
gunicorn openvj.wsgi:application -b 0.0.0.0:8080 --user nobody --group nogroup --reload &
celery -A openvj worker -l DEBUG -Q local &
wait