|
Zbigniew Jędrzejewski-Szmek |
ea1976 |
From 48a8d6bbdb6132ee4086e380437fac74457738d7 Mon Sep 17 00:00:00 2001
|
|
Zbigniew Jędrzejewski-Szmek |
ea1976 |
From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= <zbyszek@in.waw.pl>
|
|
Zbigniew Jędrzejewski-Szmek |
ea1976 |
Date: Sat, 1 Nov 2014 13:52:14 -0400
|
|
Zbigniew Jędrzejewski-Szmek |
ea1976 |
Subject: [PATCH] systemd-journal-flush.service: remove "trigger" from
|
|
Zbigniew Jędrzejewski-Szmek |
ea1976 |
description
|
|
Zbigniew Jędrzejewski-Szmek |
ea1976 |
|
|
Zbigniew Jędrzejewski-Szmek |
ea1976 |
This service is now synchronous, so "trigger" is misleading.
|
|
Zbigniew Jędrzejewski-Szmek |
ea1976 |
|
|
Zbigniew Jędrzejewski-Szmek |
ea1976 |
(cherry picked from commit a65b82457735df2ef58736a55846f400124a8dc0)
|
|
Zbigniew Jędrzejewski-Szmek |
ea1976 |
---
|
|
Zbigniew Jędrzejewski-Szmek |
ea1976 |
NEWS | 7 ++++---
|
|
Zbigniew Jędrzejewski-Szmek |
ea1976 |
units/systemd-journal-flush.service.in | 2 +-
|
|
Zbigniew Jędrzejewski-Szmek |
ea1976 |
2 files changed, 5 insertions(+), 4 deletions(-)
|
|
Zbigniew Jędrzejewski-Szmek |
ea1976 |
|
|
Zbigniew Jędrzejewski-Szmek |
ea1976 |
diff --git a/NEWS b/NEWS
|
|
Zbigniew Jędrzejewski-Szmek |
ea1976 |
index d8770a0fcf..0ed03daa21 100644
|
|
Zbigniew Jędrzejewski-Szmek |
ea1976 |
--- a/NEWS
|
|
Zbigniew Jędrzejewski-Szmek |
ea1976 |
+++ b/NEWS
|
|
Zbigniew Jędrzejewski-Szmek |
ea1976 |
@@ -7,9 +7,10 @@ CHANGES WITH 217:
|
|
Zbigniew Jędrzejewski-Szmek |
ea1976 |
show log timestamps in the UTC timezone. journalctl now also
|
|
Zbigniew Jędrzejewski-Szmek |
ea1976 |
accepts -n/--lines=all to disable line capping in a pager.
|
|
Zbigniew Jędrzejewski-Szmek |
ea1976 |
|
|
Zbigniew Jędrzejewski-Szmek |
ea1976 |
- * journalctl gained a new switch, --flush, that flushes
|
|
Zbigniew Jędrzejewski-Szmek |
ea1976 |
- logs from /run/log/journal to /var/log/journal if
|
|
Zbigniew Jędrzejewski-Szmek |
ea1976 |
- persistent storage is enabled.
|
|
Zbigniew Jędrzejewski-Szmek |
ea1976 |
+ * journalctl gained a new switch, --flush, that synchronously
|
|
Zbigniew Jędrzejewski-Szmek |
ea1976 |
+ flushes logs from /run/log/journal to /var/log/journal if
|
|
Zbigniew Jędrzejewski-Szmek |
ea1976 |
+ persistent storage is enabled. systemd-journal-flush.service
|
|
Zbigniew Jędrzejewski-Szmek |
ea1976 |
+ now waits until the operation is complete.
|
|
Zbigniew Jędrzejewski-Szmek |
ea1976 |
|
|
Zbigniew Jędrzejewski-Szmek |
ea1976 |
* Services can notify the manager before they start a reload
|
|
Zbigniew Jędrzejewski-Szmek |
ea1976 |
(by sending RELOADING=1) or shutdown (by sending
|
|
Zbigniew Jędrzejewski-Szmek |
ea1976 |
diff --git a/units/systemd-journal-flush.service.in b/units/systemd-journal-flush.service.in
|
|
Zbigniew Jędrzejewski-Szmek |
ea1976 |
index 2612220e2e..fa290897d6 100644
|
|
Zbigniew Jędrzejewski-Szmek |
ea1976 |
--- a/units/systemd-journal-flush.service.in
|
|
Zbigniew Jędrzejewski-Szmek |
ea1976 |
+++ b/units/systemd-journal-flush.service.in
|
|
Zbigniew Jędrzejewski-Szmek |
ea1976 |
@@ -6,7 +6,7 @@
|
|
Zbigniew Jędrzejewski-Szmek |
ea1976 |
# (at your option) any later version.
|
|
Zbigniew Jędrzejewski-Szmek |
ea1976 |
|
|
Zbigniew Jędrzejewski-Szmek |
ea1976 |
[Unit]
|
|
Zbigniew Jędrzejewski-Szmek |
ea1976 |
-Description=Trigger Flushing of Journal to Persistent Storage
|
|
Zbigniew Jędrzejewski-Szmek |
ea1976 |
+Description=Flush Journal to Persistent Storage
|
|
Zbigniew Jędrzejewski-Szmek |
ea1976 |
Documentation=man:systemd-journald.service(8) man:journald.conf(5)
|
|
Zbigniew Jędrzejewski-Szmek |
ea1976 |
DefaultDependencies=no
|
|
Zbigniew Jędrzejewski-Szmek |
ea1976 |
Requires=systemd-journald.service
|