From 21669d633a66091336bbb2000bf620855fa03fe3 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sun, 30 May 2021 12:06:24 +0200 Subject: op-mode: T3589: add "clear log" command to vacuume journald (cherry picked from commit 3e6e4a1738dc2bcf173c6e450ad4d43dda54f283) --- op-mode-definitions/clear-log.xml.in | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 op-mode-definitions/clear-log.xml.in (limited to 'op-mode-definitions') diff --git a/op-mode-definitions/clear-log.xml.in b/op-mode-definitions/clear-log.xml.in new file mode 100644 index 000000000..1f4a1aacd --- /dev/null +++ b/op-mode-definitions/clear-log.xml.in @@ -0,0 +1,13 @@ + + + + + + + Clear contents of current master log file + + sudo journalctl --rotate --vacuum-time=1s + + + + -- cgit v1.2.3