fix typo in crontab (#465)

This commit is contained in:
Khisab Kurniawan 2022-07-06 17:09:42 +07:00 committed by GitHub
parent baf9d19f81
commit d9226a66eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -54,7 +54,7 @@ certbot -d example.com --manual --preferred-challenges dns certonly
### Auto Renewal
You'll also probably want to configure the automatic renewal of certificates to prevent unexpected certificate expirations.
You can open crontab with `sudo crontab- e` and add the line from below to the bottom of it for attempting renewal every day at 23 (11 PM).
You can open crontab with `sudo crontab -e` and add the line from below to the bottom of it for attempting renewal every day at 23 (11 PM).
Deploy hook would restart the Nginx service to apply a new certificate when it's renewed successfully. Change `nginx` in the restart command to suit your own needs, such as to `apache` or `wings`.