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/show-log.xml.in | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'op-mode-definitions/show-log.xml.in') diff --git a/op-mode-definitions/show-log.xml.in b/op-mode-definitions/show-log.xml.in index 6cd53882d..432a21b59 100644 --- a/op-mode-definitions/show-log.xml.in +++ b/op-mode-definitions/show-log.xml.in @@ -38,6 +38,12 @@ journalctl --no-hostname --boot --quiet SYSLOG_FACILITY=10 SYSLOG_FACILITY=4 + + + Show log for certbot + + if sudo test -f /var/log/letsencrypt/letsencrypt.log; then sudo cat /var/log/letsencrypt/letsencrypt.log; else echo "Cerbot log does not exist"; fi + Show log for Cluster -- cgit v1.2.3