Полезности и красивости

Инвокеры еджаджа

hostname -b invoker4.ejudge.andgein.ru
systemctl stop mysql; systemctl disable mysql
# chown ejudge:ejudge ~ejudge/.ssh/id_rsa
# cd /home
# rm -r judges
# mkdir judges
# sshfs ejudge@ejudge.andgein.ru:/home/judges /home/judges -o ServerAliveInterval=30,reconnect,allow_other
# ip a s
vim /home/judges/data/ejudge.xml
cd /opt/ejudge/bin/
# ./ejudge-control -u ejudge -nu -ns -nj -nc -no start
# for i in `seq 0 3`; do ./ej-super-run -u ejudge -g ejudge -D -m /tmp/super-run -hi $i; done

sudo -u ejudge ./ejudge-control --mirror /tmp/ejudge-control --queue ejudge --agent ssh:ejudge.andgein.ru --instance-id $(hostname) -no -s start