]> git.ipfire.org Git - thirdparty/systemd.git/commit
fork-journal: add helpers for spawning off journalctl from 'systemctl start' or ...
authorLennart Poettering <lennart@poettering.net>
Sun, 23 Mar 2025 22:39:03 +0000 (18:39 -0400)
committerLennart Poettering <lennart@poettering.net>
Tue, 13 May 2025 13:38:36 +0000 (15:38 +0200)
commita18b80b15dc9a575eb3e734062fb762b62961bab
tree1e93715211cc542b666a5199c7fa6cc8ad01f2ca
parenta067173fd0b476da4bed54e27484d4d70b98d8b2
fork-journal: add helpers for spawning off journalctl from 'systemctl start' or 'systemd-run'

This is modelled after the polkit or askpw agents, but simply invokes
journalctl for the specified unit name, to show logs.
src/shared/fork-journal.c [new file with mode: 0644]
src/shared/fork-journal.h [new file with mode: 0644]
src/shared/meson.build