summaryrefslogtreecommitdiffstats
path: root/modules.d/01systemd-journald/module-setup.sh
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-08-26 10:33:11 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-08-26 10:33:11 +0000
commit203af7302854f453fa4a05ecefd4403b6c8a4f8d (patch)
tree967fdacafe332baabd12b57725505c138d0f3bbf /modules.d/01systemd-journald/module-setup.sh
parentAdding upstream version 102. (diff)
downloaddracut-upstream/103.tar.xz
dracut-upstream/103.zip
Adding upstream version 103.upstream/103upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'modules.d/01systemd-journald/module-setup.sh')
-rwxr-xr-xmodules.d/01systemd-journald/module-setup.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules.d/01systemd-journald/module-setup.sh b/modules.d/01systemd-journald/module-setup.sh
index e0944d2..77d6a2e 100755
--- a/modules.d/01systemd-journald/module-setup.sh
+++ b/modules.d/01systemd-journald/module-setup.sh
@@ -31,6 +31,8 @@ install() {
inst_simple "$moddir/initrd.conf" "$systemdutildir/journald.conf.d/initrd.conf"
+ inst_sysusers systemd-journal.conf
+
inst_multiple -o \
"$systemdutildir"/journald.conf \
"$systemdutildir/journald.conf.d/*.conf" \
@@ -47,7 +49,6 @@ install() {
"$systemdsystemunitdir"/sockets.target.wants/systemd-journald-dev-log.socket \
"$systemdsystemunitdir"/sockets.target.wants/systemd-journald.socket \
"$systemdsystemunitdir"/sysinit.target.wants/systemd-journald.service \
- "$sysusers"/systemd-journal.conf \
journalctl
# Install library file(s)
@@ -66,8 +67,7 @@ install() {
"$systemdsystemconfdir"/systemd-journald.service \
"$systemdsystemconfdir/systemd-journald.service.d/*.conf" \
"$systemdsystemconfdir"/systemd-journal-catalog-update.service \
- "$systemdsystemconfdir/systemd-journal-catalog-update.service.d/*.conf" \
- "$sysusersconfdir"/systemd-journal.conf
+ "$systemdsystemconfdir/systemd-journal-catalog-update.service.d/*.conf"
fi
}