为judger增加supervisor

This commit is contained in:
virusdefender
2016-04-22 19:09:34 +08:00
parent 9bd0881e20
commit 1e73eca339
3 changed files with 30 additions and 5 deletions

View File

@@ -0,0 +1,3 @@
#!/usr/bin/env bash
python -m compileall /var/judger/code
exec supervisord