summaryrefslogtreecommitdiffstats
path: root/units/systemd-journal-flush.service
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-12 03:50:42 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-12 03:50:42 +0000
commit78e9bb837c258ac0ec7712b3d612cc2f407e731e (patch)
treef515d16b6efd858a9aeb5b0ef5d6f90bf288283d /units/systemd-journal-flush.service
parentAdding debian version 255.5-1. (diff)
downloadsystemd-78e9bb837c258ac0ec7712b3d612cc2f407e731e.tar.xz
systemd-78e9bb837c258ac0ec7712b3d612cc2f407e731e.zip
Merging upstream version 256.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'units/systemd-journal-flush.service')
-rw-r--r--units/systemd-journal-flush.service5
1 files changed, 4 insertions, 1 deletions
diff --git a/units/systemd-journal-flush.service b/units/systemd-journal-flush.service
index 8c01587..bd098e6 100644
--- a/units/systemd-journal-flush.service
+++ b/units/systemd-journal-flush.service
@@ -14,12 +14,15 @@ Documentation=man:systemd-journald.service(8) man:journald.conf(5)
ConditionPathExists=!/etc/initrd-release
DefaultDependencies=no
-After=systemd-remount-fs.service
+After=systemd-remount-fs.service systemd-quotacheck-root.service
Before=systemd-tmpfiles-setup.service
Wants=systemd-journald.service
After=systemd-journald.service
RequiresMountsFor=/var/log/journal
+Before=soft-reboot.target systemd-soft-reboot.service
+Conflicts=soft-reboot.target
+
[Service]
ExecStart=journalctl --flush
ExecStop=journalctl --smart-relinquish-var