From 69b8c448c7c8fe32bb607dbc4465e4b56df39bfa Mon Sep 17 00:00:00 2001 From: Christian Breunig Date: Fri, 5 Jan 2024 22:31:48 +0100 Subject: pki: T5886: add op-mode commands for log and renewal * show log certbot * monitor log certbot * renew certbot (cherry picked from commit 9d02d32319f9328df618910a038ef580588e13c8) --- op-mode-definitions/monitor-log.xml.in | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'op-mode-definitions/monitor-log.xml.in') diff --git a/op-mode-definitions/monitor-log.xml.in b/op-mode-definitions/monitor-log.xml.in index df17371cc..f01c715cb 100644 --- a/op-mode-definitions/monitor-log.xml.in +++ b/op-mode-definitions/monitor-log.xml.in @@ -30,6 +30,12 @@ + + + Monitor last lines of certbot log + + if sudo test -f /var/log/letsencrypt/letsencrypt.log; then sudo tail --follow=name /var/log/letsencrypt/letsencrypt.log; else echo "Cerbot log does not exist"; fi + Monitor last lines of conntrack-sync log -- cgit v1.2.3