remove chmod for token.txt in run.sh

This commit is contained in:
zema1 2017-09-18 16:23:06 +08:00
parent 70b923bc50
commit 41ec65e15d

View File

@ -3,6 +3,6 @@ chown compiler:compiler /spj
echo 0 > /tmp/counter
core=$(grep --count ^processor /proc/cpuinfo)
n=$(($core*2))
chmod 400 /token.txt /tmp/counter
chmod 400 /tmp/counter
chmod -R 400 /test_case
gunicorn --workers $n --threads $n --error-logfile /log/gunicorn.log --time 600 --bind 0.0.0.0:8080 server:wsgiapp