service nginx force-reload

This commit is contained in:
neilpang 2016-12-22 20:06:55 +08:00
parent 3a3b0dd5c1
commit 4743171b4f
1 changed files with 2 additions and 2 deletions

View File

@ -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.