Hi,
On 03/11/17 04:32, easior wrote:
Hi, all in the list.
I don't know whether my question is fit here. However, following the link https://github.com/DOMjudge/domjudge/issues/305, I come here to ask for helps. First of all, I want to know how to write a systemd script instead of /etc/init.d/domjudge-judgehost on Fedora box. I'm too little of knowledge of systemd to kick it off.
Have a look at: https://github.com/DOMjudge/domjudge-scripts/blob/master/icpc-wf/ansible/fil... and also the create_cgroups.service there.
I'm no expert with systemd, so maybe others can help you further if needed.
Secondary, I want to create many accounts for domserver in the batches. Is there any Bash/PHP/SQL script to reach this purpose? Thank in advances.
You can use the import function from CSV (actually tab-separated) files. For the expected format see:
https://clics.ecs.baylor.edu/index.php/Contest_Control_System_Requirements#t...
Also see the shell script misc-tools/create_accounts, but I don't know how uptodate that is.
Best, Jaap