diff options
author | Christian Breunig <christian@breunig.cc> | 2024-01-05 22:31:48 +0100 |
---|---|---|
committer | Christian Breunig <christian@breunig.cc> | 2024-01-08 21:11:13 +0100 |
commit | 69b8c448c7c8fe32bb607dbc4465e4b56df39bfa (patch) | |
tree | 96b2b969ca3857daf8ea4dd6e6b7f80fad43b60f /op-mode-definitions/show-log.xml.in | |
parent | f8f51939ae5ad852563cc69c4e2c8c2717318c9c (diff) | |
download | vyos-1x-69b8c448c7c8fe32bb607dbc4465e4b56df39bfa.tar.gz vyos-1x-69b8c448c7c8fe32bb607dbc4465e4b56df39bfa.zip |
pki: T5886: add op-mode commands for log and renewal
* show log certbot
* monitor log certbot
* renew certbot
(cherry picked from commit 9d02d32319f9328df618910a038ef580588e13c8)
Diffstat (limited to 'op-mode-definitions/show-log.xml.in')
-rw-r--r-- | op-mode-definitions/show-log.xml.in | 6 |
1 files changed, 6 insertions, 0 deletions
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 @@ </properties> <command>journalctl --no-hostname --boot --quiet SYSLOG_FACILITY=10 SYSLOG_FACILITY=4</command> </leafNode> + <leafNode name="certbot"> + <properties> + <help>Show log for certbot</help> + </properties> + <command>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</command> + </leafNode> <leafNode name="cluster"> <properties> <help>Show log for Cluster</help> |