Skip to content

Commit 4109106

Browse files
committed
Add section on how to install the service files
1 parent 7517796 commit 4109106

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

doc/manual/install-judgehost.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,16 @@ example to install DOMjudge in the directory ``domjudge`` under `/opt`::
6868
make judgehost
6969
sudo make install-judgehost
7070

71+
Example service files for the judgehost and the judgedaemon are provided in
72+
``judge/create-cgroups.service`` and ``judge/[email protected]``. The rest of the manual assumes you install those
73+
in a location which is picked up by ``systemd`` for example ``/etc/systemd/system``.
74+
75+
76+
.. parsed-literal::
77+
78+
cp <DOMSERVER_UNPACK_PATH>/judge/[email protected] /etc/systemd/system/
79+
cp <DOMSERVER_UNPACK_PATH>/judge/create-cgroups.service /etc/systemd/system/
80+
7181
The judgedaemon can be run on various hardware configurations;
7282

7383
- A virtual machine, typically these have 1 or 2 cores and no hyperthreading, because the kernel will schedule its own tasks on CPU 0, we advice CPU 1,

0 commit comments

Comments
 (0)