From f5360b98703e0a954066c099b48119daecd1c12b Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Wed, 24 Aug 2022 19:30:53 +0200 Subject: ipsec: T2185: use systemd to start/stop service --- op-mode-definitions/monitor-log.xml.in | 13 +++++++++++++ op-mode-definitions/show-log.xml.in | 2 +- 2 files changed, 14 insertions(+), 1 deletion(-) (limited to 'op-mode-definitions') diff --git a/op-mode-definitions/monitor-log.xml.in b/op-mode-definitions/monitor-log.xml.in index 8a02e1f08..774acaa5c 100644 --- a/op-mode-definitions/monitor-log.xml.in +++ b/op-mode-definitions/monitor-log.xml.in @@ -224,6 +224,19 @@ journalctl --no-hostname --boot --follow --unit ssh.service + + + Show log for Virtual Private Network (VPN) + + + + + Monitor last lines of IPSec + + journalctl --no-hostname --boot --follow --unit strongswan-starter.service + + + 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 @@ Show log for IPSec - cat $(printf "%s\n" /var/log/messages* | sort -nr) | grep -e charon + journalctl --no-hostname --boot --unit strongswan-starter.service -- cgit v1.2.3