This commit is contained in:
virusdefender 2016-04-28 14:28:06 +08:00
parent f7b3162958
commit 9660dc6313
No known key found for this signature in database
GPG Key ID: 1686FB5677979E61

View File

@ -1,5 +1,5 @@
#!/usr/bin/env bash
if [ ! -f "/code/openoj/custom_settings.py" ]; then
if [ ! -f "/code/openvj/custom_settings.py" ]; then
cp /code/openvj/custom_settings.example.py /code/openvj/custom_settings.py
echo "SECRET_KEY=\"`cat /dev/urandom | head -1 | md5sum | head -c 32`\"" >> /code/openvj/custom_settings.py
fi