From: Daan De Meyer Date: Fri, 12 Apr 2024 07:56:34 +0000 (+0200) Subject: Allocate scope for systemd-journal-remote as well X-Git-Tag: v23~4^2~22 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3efac9fcbdb078fa2f2db22624b1b52b85a70b93;p=thirdparty%2Fmkosi.git Allocate scope for systemd-journal-remote as well --- diff --git a/mkosi/qemu.py b/mkosi/qemu.py index 70c37a1a8..839c718d6 100644 --- a/mkosi/qemu.py +++ b/mkosi/qemu.py @@ -442,6 +442,12 @@ def start_journal_remote(config: Config, sockfd: int) -> Iterator[None]: # If all logs go into a single file, disable compact mode to allow for journal files exceeding 4G. env={"SYSTEMD_JOURNAL_COMPACT": "0" if config.forward_journal.suffix == ".journal" else "1"}, ) as proc: + allocate_scope( + config, + name=f"mkosi-journal-remote-{config.machine_or_name()}", + pid=proc.pid, + description=f"mkosi systemd-journal-remote for {config.machine_or_name()}", + ) yield proc.terminate()