mirror of
https://github.com/YunoHost/moulinette.git
synced 2024-09-03 20:06:31 +02:00
bugfixes
This commit is contained in:
parent
d906d2648a
commit
671d1652a6
1 changed files with 5 additions and 5 deletions
|
@ -202,8 +202,7 @@ 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 tahoe-lafs stop',
|
'service amavis restart'
|
||||||
'service tahoe-lafs start'
|
|
||||||
]
|
]
|
||||||
|
|
||||||
for command in command_list:
|
for command in command_list:
|
||||||
|
@ -218,6 +217,9 @@ 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"))
|
||||||
|
|
||||||
|
|
||||||
|
@ -255,6 +257,7 @@ def tools_postinstall(domain, password, dyndns=False):
|
||||||
'/etc/yunohost/certs',
|
'/etc/yunohost/certs',
|
||||||
'/var/cache/yunohost/repo',
|
'/var/cache/yunohost/repo',
|
||||||
'/home/yunohost.samba',
|
'/home/yunohost.samba',
|
||||||
|
'/home/yunohost.backup',
|
||||||
'/home/yunohost.app'
|
'/home/yunohost.app'
|
||||||
]
|
]
|
||||||
|
|
||||||
|
@ -288,9 +291,6 @@ def tools_postinstall(domain, password, dyndns=False):
|
||||||
# Change LDAP admin password
|
# Change LDAP admin password
|
||||||
tools_adminpw(old_password='yunohost', new_password=password)
|
tools_adminpw(old_password='yunohost', new_password=password)
|
||||||
|
|
||||||
# Initialize backup system
|
|
||||||
backup_init()
|
|
||||||
|
|
||||||
os.system('touch /etc/yunohost/installed')
|
os.system('touch /etc/yunohost/installed')
|
||||||
os.system('service samba restart')
|
os.system('service samba restart')
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue