diff options
author | Maxim Devaev <[email protected]> | 2023-01-18 23:45:13 +0200 |
---|---|---|
committer | Maxim Devaev <[email protected]> | 2023-01-18 23:45:13 +0200 |
commit | 86ff6f4eb2c725c555da56f7b66df2d31d053b1f (patch) | |
tree | 63b25436ad10dfe84561716e47a64ca9ffb86bdc /scripts | |
parent | 61cd781fff272236f70dbb779450c5a08ccf39f5 (diff) |
kvmd-certbot install_cloud
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/kvmd-certbot | 6 |
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>" |