[fix] Set firewall start as background task (to be done right after postinstall) to avoid lock issues

This commit is contained in:
Alexandre Aubin 2017-08-23 02:02:44 +02:00
parent d5b6072c84
commit 950359061e

View file

@ -387,7 +387,7 @@ def tools_postinstall(domain, password, ignore_dyndns=False):
# Enable and start YunoHost firewall at boot time
os.system('update-rc.d yunohost-firewall enable')
os.system('service yunohost-firewall start')
os.system('service yunohost-firewall start &')
service_regen_conf(force=True)
logger.success(m18n.n('yunohost_configured'))