From 6a7a00ef2b01b425830fc8789392c3b5eefe6932 Mon Sep 17 00:00:00 2001 From: Alexandru Georoceanu Date: Sun, 2 Oct 2016 12:33:15 +0300 Subject: [PATCH] Updated Synology RT1900ac install guide (markdown) --- Synology-RT1900ac-install-guide.md | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/Synology-RT1900ac-install-guide.md b/Synology-RT1900ac-install-guide.md index 8f7d911..00433f5 100644 --- a/Synology-RT1900ac-install-guide.md +++ b/Synology-RT1900ac-install-guide.md @@ -37,12 +37,9 @@ now to create your cert: kill -USR1 `cat /run/httpd/httpd-sys.pid` -simple right? +Add the following line in `/etc/crontab` (use vi) -since there is no cron, the renewal still requires manual work. + 0 2 * * 0,3 root /root/.acme.sh/acme.sh --cron && kill -USR1 `cat /run/httpd/httpd-sys.pid` -I've added this line at the bottom of /etc/rc and ~/.profile -`/root/.acme.sh/acme.sh --cron` -so when the router is rebooted or you ssh into it, it tries to renew the cert. - -HTH \ No newline at end of file +And run `killall -1 crond` to restart the cron daemon. +The certificate will be checked twice per week for renewal at 2am \ No newline at end of file