add hooks to acme.sh config

This commit is contained in:
Joerg Lehmann 2021-06-02 11:33:23 +02:00
parent 0410707a81
commit e4aada95f5
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ Mailzugang muss auf mail.nbit.ch noch gegeben werden (main.cf)!
`
# curl https://get.acme.sh | sh -s email=info@nbit.ch
# systemctl stop nginx
# acme.sh --issue -d wo-bisch.ch -d www.wo-bisch.ch -w /home/appuser/wo-bisch-web --standalone
# acme.sh --issue -d wo-bisch.ch -d www.wo-bisch.ch -w /home/appuser/wo-bisch-web --standalone --pre-hook "systemctl stop nginx" --post-hook "systemctl start nginx"
# restorecon -irv /etc/letsencrypt