Skip to content

Commit 0dac8d9

Browse files
committed
fixes
1 parent b423851 commit 0dac8d9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

bin/ejudge-setup.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4382,12 +4382,10 @@ generate_install_script(FILE *f, int batch_install_script)
43824382
EJUDGE_SERVER_BIN_PATH, config_system_uid, config_system_gid);
43834383
}
43844384

4385-
/*
43864385
fprintf(f, "# Do probe run of the compile server to create dirs\n");
43874386
gen_cmd_run(f, "%s/ej-compile -u %s -g %s -C \"%s\" -i conf/compile.cfg",
43884387
EJUDGE_SERVER_BIN_PATH, config_system_uid, config_system_gid,
43894388
config_compile_home_dir);
4390-
*/
43914389
/*
43924390
fprintf(f, "# Do probe run of the contest server to create dirs\n");
43934391
gen_cmd_run(f, "%s -u %s -g %s -C \"%s\" -i conf/serve.cfg",

docker/entrypoint.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,8 @@ unset EJUDGE_MYSQL_DATABASE
7777
unset EJUDGE_MYSQL_HOST
7878
unset EJUDGE_MYSQL_PORT
7979

80+
ulimit -n 1024
81+
8082
PATH=/opt/ejudge/bin:$PATH
8183
/opt/ejudge/bin/ejudge-control -u ejudge -g ejudge start
8284

0 commit comments

Comments
 (0)