summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-10-29 08:07:06 +0100
committerChristian Breunig <christian@breunig.cc>2023-10-29 08:07:06 +0100
commite1b4e972b40941acec76c97e714767214cefe426 (patch)
tree519d959463f98761ccc6c08bda45dc71ebe84d59
parent0e129df010f5306b9a8ba5b39fffb520baade38b (diff)
downloadvyos-1x-e1b4e972b40941acec76c97e714767214cefe426.tar.gz
vyos-1x-e1b4e972b40941acec76c97e714767214cefe426.zip
op-mode: T5661: use common journalctl syntax for sshguard
This makes the code more easy to maintain in the future if everyone uses the same structure when calling journalctl.
-rw-r--r--op-mode-definitions/show-log.xml.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/op-mode-definitions/show-log.xml.in b/op-mode-definitions/show-log.xml.in
index dcfede991..39d69c64e 100644
--- a/op-mode-definitions/show-log.xml.in
+++ b/op-mode-definitions/show-log.xml.in
@@ -626,9 +626,9 @@
<children>
<node name="dynamic-protection">
<properties>
- <help>Show dynamic-protection log</help>
+ <help>Show SSH guard log</help>
</properties>
- <command>journalctl --no-hostname -p info -t sshguard -o short</command>
+ <command>journalctl --no-hostname --boot --unit sshguard.service</command>
</node>
</children>
</node>