]> git.ipfire.org Git - thirdparty/mkosi.git/commitdiff
Make sure systemd-journal-remote runs in background
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Fri, 12 Apr 2024 12:53:56 +0000 (14:53 +0200)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Sat, 13 Apr 2024 10:10:20 +0000 (12:10 +0200)
mkosi/qemu.py

index 88d32252448392c4512280c41d3d94b677869089..61326052468d4cbc229c3e7448d550bc920f406a 100644 (file)
@@ -441,6 +441,7 @@ def start_journal_remote(config: Config, sockfd: int) -> Iterator[None]:
         group=config.forward_journal.parent.stat().st_gid if INVOKING_USER.invoked_as_root else 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"},
+        foreground=False,
     ) as proc:
         allocate_scope(
             config,