summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscripts/kvmd-certbot6
1 files changed, 5 insertions, 1 deletions
diff --git a/scripts/kvmd-certbot b/scripts/kvmd-certbot
index 2fdd0c1d..893abe29 100755
--- a/scripts/kvmd-certbot
+++ b/scripts/kvmd-certbot
@@ -67,6 +67,10 @@ function restart_if_running_nginx() {
restart_if_running reload kvmd-nginx
}
+function restart_if_running_cloud() {
+ restart_if_running reload kvmd-cloud
+}
+
function restart_if_running_vnc() {
restart_if_running restart kvmd-vnc
}
@@ -131,7 +135,7 @@ case "$1" in
fi
;;
- install_nginx|install_vnc)
+ install_nginx|install_vnc|install_cloud)
target="${1/install_/}"
if [ -z "$2" ]; then
echo "Usage: kvmd-certbot $1 <domain>"