summaryrefslogtreecommitdiffstats
path: root/units/systemd-journal-flush.service
diff options
context:
space:
mode:
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