add home env variable per Neil

master
florid2 2017-06-28 21:27:16 +10:00
parent 417b9ed52e
commit 15f9010fee
1 changed files with 1 additions and 1 deletions

@ -67,7 +67,7 @@ Configure crontab for root
Add the following line to the crontab. Remember to use tab for spacing. Add the following line to the crontab. Remember to use tab for spacing.
For example, 10:00 am of the 2nd day every month run the cronjob to check if due to renew the certificates (You can modify the cronjob schedule according to your needs) For example, 10:00 am of the 2nd day every month run the cronjob to check if due to renew the certificates (You can modify the cronjob schedule according to your needs)
`0 10 2 * * root /root/.acme.sh/acme.sh --cron` `0 10 2 * * root /root/.acme.sh/acme.sh --cron --home /root/.acme.sh/`
The last step is to setup a schedule task to copy renewed certificates in cert library to system default directory and restart the Nginx service. The last step is to setup a schedule task to copy renewed certificates in cert library to system default directory and restart the Nginx service.