Skip to content

Commit

Permalink
Add section on how to install the service files
Browse files Browse the repository at this point in the history
  • Loading branch information
vmcj committed Jun 26, 2024
1 parent 7517796 commit 4109106
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions doc/manual/install-judgehost.rst
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,16 @@ example to install DOMjudge in the directory ``domjudge`` under `/opt`::
make judgehost
sudo make install-judgehost

Example service files for the judgehost and the judgedaemon are provided in
``judge/create-cgroups.service`` and ``judge/[email protected]``. The rest of the manual assumes you install those
in a location which is picked up by ``systemd`` for example ``/etc/systemd/system``.


.. parsed-literal::
cp <DOMSERVER_UNPACK_PATH>/judge/[email protected] /etc/systemd/system/
cp <DOMSERVER_UNPACK_PATH>/judge/create-cgroups.service /etc/systemd/system/
The judgedaemon can be run on various hardware configurations;

- 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,
Expand Down

0 comments on commit 4109106

Please sign in to comment.