JudgeServer/server/run.sh
2016-10-27 18:38:04 +08:00

5 lines
173 B
Bash

#!/usr/bin/env bash
chown compiler:compiler /spj
echo 0 > /tmp/counter
gunicorn --workers 4 --threads 4 --error-logfile /log/gunicorn.log --bind 0.0.0.0:8080 server:wsgiapp