Skip to content

Document that systemd files need to be copied #2984

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Open
wants to merge 2 commits into
base: 8.3
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion doc/manual/config-advanced.rst
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ selected in the ``special_run`` and/or ``special_compare``
fields of the problem (an empty value means that the default run and
compare scripts should be used; the defaults can be set in the global
configuration settings). When creating custom run and compare
programs, we recommend re-using wrapper scripts that handle the
programs, we recommend reusing wrapper scripts that handle the
tedious, standard part. See the boolfind example for details.

Compare programs
Expand Down
9 changes: 9 additions & 0 deletions doc/manual/install-judgehost.rst
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,15 @@ 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/domjudge-judgedaemon@.service``. 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 judge/domjudge-judgedaemon@.service /etc/systemd/system/
cp 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
Loading