From 950359061ef52e84b9aeda7f31e03c471c5b7248 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Wed, 23 Aug 2017 02:02:44 +0200 Subject: [PATCH] [fix] Set firewall start as background task (to be done right after postinstall) to avoid lock issues --- src/yunohost/tools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/yunohost/tools.py b/src/yunohost/tools.py index c23bb042..43407ad8 100644 --- a/src/yunohost/tools.py +++ b/src/yunohost/tools.py @@ -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'))