mirror of
https://github.com/YunoHost/moulinette.git
synced 2024-09-03 20:06:31 +02:00
bugfixes
This commit is contained in:
parent
671d1652a6
commit
b6b7a134d6
1 changed files with 5 additions and 4 deletions
|
@ -202,7 +202,8 @@ def tools_maindomain(old_domain, new_domain, dyndns=False):
|
||||||
'service metronome restart',
|
'service metronome restart',
|
||||||
'service postfix restart',
|
'service postfix restart',
|
||||||
'service dovecot restart',
|
'service dovecot restart',
|
||||||
'service amavis restart'
|
'service amavis restart',
|
||||||
|
'service tahoe-lafs restart'
|
||||||
]
|
]
|
||||||
|
|
||||||
for command in command_list:
|
for command in command_list:
|
||||||
|
@ -217,9 +218,6 @@ def tools_maindomain(old_domain, new_domain, dyndns=False):
|
||||||
if dyndomain in dyndomains:
|
if dyndomain in dyndomains:
|
||||||
dyndns_subscribe(domain=new_domain)
|
dyndns_subscribe(domain=new_domain)
|
||||||
|
|
||||||
# Initialize backup system
|
|
||||||
backup_init()
|
|
||||||
|
|
||||||
win_msg(_("Main domain has been successfully changed"))
|
win_msg(_("Main domain has been successfully changed"))
|
||||||
|
|
||||||
|
|
||||||
|
@ -285,6 +283,9 @@ def tools_postinstall(domain, password, dyndns=False):
|
||||||
# Initialize YunoHost LDAP base
|
# Initialize YunoHost LDAP base
|
||||||
tools_ldapinit(password)
|
tools_ldapinit(password)
|
||||||
|
|
||||||
|
# Initialize backup system
|
||||||
|
backup_init()
|
||||||
|
|
||||||
# New domain config
|
# New domain config
|
||||||
tools_maindomain(old_domain='yunohost.org', new_domain=domain, dyndns=dyndns)
|
tools_maindomain(old_domain='yunohost.org', new_domain=domain, dyndns=dyndns)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue