Skip to content

Commit

Permalink
Merge branch '8.2' into bugfix-2279-backport
Browse files Browse the repository at this point in the history
  • Loading branch information
cubercsl authored Oct 28, 2024
2 parents 9ec1f2b + 71daad7 commit 41b7e3d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions doc/manual/import.rst
Original file line number Diff line number Diff line change
Expand Up @@ -402,11 +402,11 @@ and click `Import`.

To import the file using the API run the following commands::

http --check-status -b -f POST "<API_URL>/contests/<CID>/problems" [email protected]
http --check-status -b -f POST "<API_URL>/contests/<CID>/problems/add-data" [email protected]

To import the file using the CLI run the following command::

<WEBAPP_DIR>/bin/console api:call -m POST -f data=problems.yaml contests/<CID>/problems
<WEBAPP_DIR>/bin/console api:call -m POST -f data=problems.yaml contests/<CID>/problems/add-data

Replace ``<CID>`` with the contest ID that was returned when importing the
contest metadata.
Expand Down
3 changes: 2 additions & 1 deletion doc/manual/install-judgehost.rst
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,8 @@ any other tasks on the same CPU core the judgedaemon is using:

On modern distros (e.g. Debian bullseye and Ubuntu Jammy Jellyfish) which have
cgroup v2 enabled by default, you need to add ``systemd.unified_cgroup_hierarchy=0``
as well. Then run ``update-grub`` and reboot.
as well. If you are running systemd v257, you also need to add `SYSTEMD_CGROUP_ENABLE_LEGACY_FORCE=1`.
Then run ``update-grub`` and reboot.
After rebooting check that ``/proc/cmdline`` actually contains the
added kernel options. On VM hosting providers such as Google Cloud or
DigitalOcean, ``GRUB_CMDLINE_LINUX_DEFAULT`` may be overwritten
Expand Down

0 comments on commit 41b7e3d

Please sign in to comment.