<p>Hi, all in the list.<br /><br />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. 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.</p><p>Best regards,</p><p>Easior</p><p><br /></p><p><br /></p><div style="height:30px;"></div><div style="height:2px;width:298px;border-bottom:solid 2px #e5e5e5"></div><div style="height:20px;"></div><a target="_blank" style="background-image:url(http://r.g.tom.com/kwap/r/app/other/suixinyou.png);background-repeat:no-repeat;background-position:left center;font-size:14px;background-size: 20px;height: 39px;line-height: 39px;padding-left: 25px;display:block;color:#333333;text-decoration: none;" href="http://mail.tom.com/webmail-static/welcomesxy.html" onmouseover="this.style.cssText='background-image:url(http://r.g.tom.com/kwap/r/app/other/suixinyou.png);background-repeat:no-repeat;background-position:left center;font-size:14px;background-size: 20px;height: 39px;line-height: 39px;padding-left: 27px;display:block;color:#4c4c4c; text-decoration:underline;'" onmouseout="this.style.cssText='background-image:url(http://r.g.tom.com/kwap/r/app/other/suixinyou.png);background-repeat:no-repeat;background-position:left center;font-size:14px;background-size: 20px;height: 39px;line-height: 39px;padding-left: 27px;display:block;color:#4c4c4c;text-decoration:none'">随心邮-在微信里收发邮件,及时省电又安心</a>
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