mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-18 01:36:08 +08:00
10 lines
168 B
Bash
10 lines
168 B
Bash
#!/bin/sh
|
|
|
|
ROOT=/root/.config/hydro
|
|
mkdir -p $ROOT
|
|
if [ ! -f "$ROOT/judge.yaml" ]; then
|
|
cp /root/judge.yaml $ROOT
|
|
fi
|
|
pm2 start sandbox
|
|
pm2-runtime start hydrojudge
|