alexmajy / hustoj

Automatically exported from code.google.com/p/hustoj
0 stars 0 forks source link

修改judge目录到其他位置 #76

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
我希望能够将judge的目录由/home/judge更换到其他目录,查看源�
��后发现似乎是要提供给judged参数,然后judged使用参数启动jud
ge_client。

但是在judged.cc:482 中,是和固定地址比较的:
if ( strcmp(oj_home,"/home/judge")==0&&already_running()){
这里的意思是如果目录不是/home/judge,就不用检查是否有重复
启动么?我是否要修改这个位置到我指定的目录?

谢谢

Original issue reported on code.google.com by alphardw...@gmail.com on 7 Sep 2012 at 1:55

GoogleCodeExporter commented 9 years ago
这样的目的是一个系统可以运行多个并行的OJ

Original comment by newsc...@gmail.com on 7 Oct 2012 at 10:40

GoogleCodeExporter commented 9 years ago

Original comment by newsc...@gmail.com on 7 Oct 2012 at 10:40