From 15f9010feee6835e670b224fdbae1e6d89c96019 Mon Sep 17 00:00:00 2001 From: florid2 Date: Wed, 28 Jun 2017 21:27:16 +1000 Subject: [PATCH] add home env variable per Neil --- Synology-NAS-Guide.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Synology-NAS-Guide.md b/Synology-NAS-Guide.md index 355b944..fedc1e7 100644 --- a/Synology-NAS-Guide.md +++ b/Synology-NAS-Guide.md @@ -67,7 +67,7 @@ Configure crontab for root 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) -`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.