From 41ec65e15dcdd56f64f2595b4dc1667d21f5b63a Mon Sep 17 00:00:00 2001 From: zema1 Date: Mon, 18 Sep 2017 16:23:06 +0800 Subject: [PATCH] remove chmod for token.txt in run.sh --- server/run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/run.sh b/server/run.sh index 9d43776..8d8d7e2 100644 --- a/server/run.sh +++ b/server/run.sh @@ -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