summaryrefslogtreecommitdiff
path: root/op-mode-definitions/show-log.xml.in
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-08-24 19:30:53 +0200
committerChristian Poessinger <christian@poessinger.com>2022-08-24 19:41:00 +0200
commitf5360b98703e0a954066c099b48119daecd1c12b (patch)
treeacc1035627739ba50244c097e1cfa3bc5c0d2420 /op-mode-definitions/show-log.xml.in
parent4d34c858d05afd720ed8f5cae0718b8e2c056f30 (diff)
downloadvyos-1x-f5360b98703e0a954066c099b48119daecd1c12b.tar.gz
vyos-1x-f5360b98703e0a954066c099b48119daecd1c12b.zip
ipsec: T2185: use systemd to start/stop service
Diffstat (limited to 'op-mode-definitions/show-log.xml.in')
-rw-r--r--op-mode-definitions/show-log.xml.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/op-mode-definitions/show-log.xml.in b/op-mode-definitions/show-log.xml.in
index 24a1b5f3e..455bd7c64 100644
--- a/op-mode-definitions/show-log.xml.in
+++ b/op-mode-definitions/show-log.xml.in
@@ -386,7 +386,7 @@
<properties>
<help>Show log for IPSec</help>
</properties>
- <command>cat $(printf "%s\n" /var/log/messages* | sort -nr) | grep -e charon</command>
+ <command>journalctl --no-hostname --boot --unit strongswan-starter.service</command>
</leafNode>
<leafNode name="l2tp">
<properties>