mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Delete dyndns key during domain removal if any
This commit is contained in:
parent
2752a8e485
commit
a8e11c19db
1 changed files with 3 additions and 0 deletions
|
@ -245,6 +245,9 @@ def domain_remove(operation_logger, domain, remove_apps=False, force=False):
|
|||
|
||||
os.system("rm -rf /etc/yunohost/certs/%s" % domain)
|
||||
|
||||
# Delete dyndns keys for this domain (if any)
|
||||
os.system('rm -rf /etc/yunohost/dyndns/K%s.+*' % domain)
|
||||
|
||||
# Sometime we have weird issues with the regenconf where some files
|
||||
# appears as manually modified even though they weren't touched ...
|
||||
# There are a few ideas why this happens (like backup/restore nginx
|
||||
|
|
Loading…
Add table
Reference in a new issue