mirror of
https://github.com/QingdaoU/JudgeServer.git
synced 2025-01-15 21:12:54 +00:00
17 lines
404 B
Python
17 lines
404 B
Python
# coding=utf-8
|
|
from __future__ import unicode_literals
|
|
|
|
import grp
|
|
import os
|
|
import pwd
|
|
|
|
JUDGER_WORKSPACE_BASE = "/var/wp"
|
|
|
|
COMPILER_LOG_PATH = os.path.join(JUDGER_WORKSPACE_BASE, "compile.log")
|
|
JUDGER_RUN_LOG_PATH = os.path.join(JUDGER_WORKSPACE_BASE, "judger.log")
|
|
|
|
LOW_PRIVILEDGE_UID = pwd.getpwnam("nobody").pw_uid
|
|
LOW_PRIVILEDGE_GID = grp.getgrnam("nogroup").gr_gid
|
|
|
|
TEST_CASE_DIR = "/var/testcase"
|