From 0e7552263d6fe5d4b00f32339656fcc1da8671a2 Mon Sep 17 00:00:00 2001 From: Laurent Peuch Date: Sun, 30 Oct 2016 17:34:32 +0100 Subject: [PATCH] [mod] I only need to reload nginx, not restart it --- src/yunohost/certificate.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/yunohost/certificate.py b/src/yunohost/certificate.py index 680149506..91dd3fc2a 100644 --- a/src/yunohost/certificate.py +++ b/src/yunohost/certificate.py @@ -450,9 +450,11 @@ def _fetch_and_enable_new_certificate(domain): logger.info("Restarting services...") - for service in ("nginx", "postfix", "dovecot", "metronome"): + for service in ("postfix", "dovecot", "metronome"): _run_service_command("restart", service) + _run_service_command("reload", "nginx") + def _prepare_certificate_signing_request(domain, key_file, output_folder): # Init a request