We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4048e82 commit e26cc8cCopy full SHA for e26cc8c
bin/v_del_web_domain_ssl
@@ -83,6 +83,15 @@ fi
83
# Decreasing domain value
84
decrease_user_value "$user" '$U_WEB_SSL'
85
86
+# Checking cert parents
87
+conf="$V_USERS/$user/web_domains.conf"
88
+field='$DOMAIN'
89
+search_string="SSL_CERT='$cert'"
90
+cert_parents=$(dom_clear_search)
91
+if [ -z "$cert_parents" ]; then
92
+ rm -f $V_HOME/$user/conf/$cert.crt $V_HOME/$user/conf/$cert.key
93
+fi
94
+
95
# Adding task to the vesta pipe
96
restart_schedule 'web'
97
0 commit comments