diff options
author | Christian Breunig <christian@breunig.cc> | 2023-10-29 08:07:06 +0100 |
---|---|---|
committer | Christian Breunig <christian@breunig.cc> | 2023-10-29 08:10:39 +0100 |
commit | 963fd35e9f9e62b013fe61d4e57496abf5ad2f38 (patch) | |
tree | 54f1c9f20e65c66263384c187edeae083e3817e6 /op-mode-definitions | |
parent | e3f6196ffc904b6bfe349bac6dfb396c17535494 (diff) | |
download | vyos-1x-963fd35e9f9e62b013fe61d4e57496abf5ad2f38.tar.gz vyos-1x-963fd35e9f9e62b013fe61d4e57496abf5ad2f38.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.
(cherry picked from commit e1b4e972b40941acec76c97e714767214cefe426)
Diffstat (limited to 'op-mode-definitions')
-rw-r--r-- | op-mode-definitions/show-log.xml.in | 4 |
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 a54d28288..08d5ae11a 100644 --- a/op-mode-definitions/show-log.xml.in +++ b/op-mode-definitions/show-log.xml.in @@ -406,9 +406,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> |