mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[mod] I only need to reload nginx, not restart it
This commit is contained in:
parent
5495281e83
commit
0e7552263d
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue