mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Move the general regen_conf after we regen ssh, otherwise there's a non-relevant warning displayed because the regen-conf tells to rerun ssh specifically which is already done...
This commit is contained in:
parent
9c1eca8d4a
commit
7805837b1d
1 changed files with 2 additions and 1 deletions
|
@ -368,7 +368,6 @@ def tools_postinstall(operation_logger, domain, password, ignore_dyndns=False,
|
|||
service_enable("yunohost-firewall")
|
||||
service_start("yunohost-firewall")
|
||||
|
||||
regen_conf(force=True)
|
||||
regen_conf(names=["ssh"], force=True)
|
||||
|
||||
# Restore original ssh conf, as chosen by the
|
||||
|
@ -384,6 +383,8 @@ def tools_postinstall(operation_logger, domain, password, ignore_dyndns=False,
|
|||
if os.path.exists(original_sshd_conf):
|
||||
os.rename(original_sshd_conf, '/etc/ssh/sshd_config')
|
||||
|
||||
regen_conf(force=True)
|
||||
|
||||
logger.success(m18n.n('yunohost_configured'))
|
||||
|
||||
logger.warning(m18n.n('yunohost_postinstall_end_tip'))
|
||||
|
|
Loading…
Add table
Reference in a new issue