summaryrefslogtreecommitdiff
path: root/op-mode-definitions/pki.xml.in
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-01-05 22:31:48 +0100
committerChristian Breunig <christian@breunig.cc>2024-01-08 21:11:13 +0100
commit69b8c448c7c8fe32bb607dbc4465e4b56df39bfa (patch)
tree96b2b969ca3857daf8ea4dd6e6b7f80fad43b60f /op-mode-definitions/pki.xml.in
parentf8f51939ae5ad852563cc69c4e2c8c2717318c9c (diff)
downloadvyos-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/pki.xml.in')
-rw-r--r--op-mode-definitions/pki.xml.in10
1 files changed, 10 insertions, 0 deletions
diff --git a/op-mode-definitions/pki.xml.in b/op-mode-definitions/pki.xml.in
index ca0eb3687..4b8d9c47a 100644
--- a/op-mode-definitions/pki.xml.in
+++ b/op-mode-definitions/pki.xml.in
@@ -574,4 +574,14 @@
</node>
</children>
</node>
+ <node name="renew">
+ <children>
+ <leafNode name="certbot">
+ <properties>
+ <help>Start manual certbot renewal</help>
+ </properties>
+ <command>sudo systemctl start certbot.service</command>
+ </leafNode>
+ </children>
+ </node>
</interfaceDefinition>