diff options
author | Christian Poessinger <christian@poessinger.com> | 2022-08-24 19:30:53 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2022-08-24 19:41:00 +0200 |
commit | f5360b98703e0a954066c099b48119daecd1c12b (patch) | |
tree | acc1035627739ba50244c097e1cfa3bc5c0d2420 /op-mode-definitions/monitor-log.xml.in | |
parent | 4d34c858d05afd720ed8f5cae0718b8e2c056f30 (diff) | |
download | vyos-1x-f5360b98703e0a954066c099b48119daecd1c12b.tar.gz vyos-1x-f5360b98703e0a954066c099b48119daecd1c12b.zip |
ipsec: T2185: use systemd to start/stop service
Diffstat (limited to 'op-mode-definitions/monitor-log.xml.in')
-rw-r--r-- | op-mode-definitions/monitor-log.xml.in | 13 |
1 files changed, 13 insertions, 0 deletions
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 @@ </properties> <command>journalctl --no-hostname --boot --follow --unit ssh.service</command> </leafNode> + <node name="vpn"> + <properties> + <help>Show log for Virtual Private Network (VPN)</help> + </properties> + <children> + <leafNode name="ipsec"> + <properties> + <help>Monitor last lines of IPSec</help> + </properties> + <command>journalctl --no-hostname --boot --follow --unit strongswan-starter.service</command> + </leafNode> + </children> + </node> </children> </node> </children> |