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.
2 parents 04ab6cd + 00b4671 commit e18ca0aCopy full SHA for e18ca0a
bin/v-change-domain-owner
@@ -94,6 +94,9 @@ if [ ! -z "$web_data" ]; then
94
$BIN/v-unsuspend-web-domain $user $domain no >> /dev/null 2>&1
95
$BIN/v-rebuild-web-domains $owner no
96
$BIN/v-rebuild-web-domains $user
97
+
98
+ # Cleanup old config
99
+ rm -rf $HOMEDIR/$owner/conf/web/$domain/
100
fi
101
102
# DNS domain
@@ -121,6 +124,9 @@ if [ ! -z "$dns_data" ]; then
121
124
$BIN/v-rebuild-dns-domains $owner no
122
125
$BIN/v-rebuild-dns-domains $user
123
126
127
128
+ rm -f $HOMEDIR/$owner/conf/dns/$domain.db
129
130
# Resync dns cluster
131
if [ ! -z "$DNS_CLUSTER" ]; then
132
v-sync-dns-cluster
0 commit comments