From 4743171b4f1f97c4054f4df6365f44630ee65753 Mon Sep 17 00:00:00 2001 From: neilpang Date: Thu, 22 Dec 2016 20:06:55 +0800 Subject: [PATCH] service nginx force-reload --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a9d5d31d..1a7766ef 100644 --- a/README.md +++ b/README.md @@ -147,7 +147,7 @@ acme.sh --installcert -d example.com \ --certpath /path/to/certfile/in/apache/cert.pem \ --keypath /path/to/keyfile/in/apache/key.pem \ --fullchainpath /path/to/fullchain/certfile/apache/fullchain.pem \ ---reloadcmd "service apache2 restart" +--reloadcmd "service apache2 force-reload" ``` **Nginx** example: @@ -155,7 +155,7 @@ acme.sh --installcert -d example.com \ acme.sh --installcert -d example.com \ --keypath /path/to/keyfile/in/nginx/key.pem \ --fullchainpath /path/to/fullchain/nginx/cert.pem \ ---reloadcmd "service nginx restart" +--reloadcmd "service nginx force-reload" ``` Only the domain is required, all the other parameters are optional.