-
Notifications
You must be signed in to change notification settings - Fork 262
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add section on how to install the service files
- Loading branch information
Showing
1 changed file
with
10 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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, | ||
|