mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2026-01-16 05:12:08 +08:00
Updated Synology RT1900ac install guide (markdown)
@@ -37,12 +37,9 @@ now to create your cert:
|
|||||||
|
|
||||||
kill -USR1 `cat /run/httpd/httpd-sys.pid`
|
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
|
And run `killall -1 crond` to restart the cron daemon.
|
||||||
`/root/.acme.sh/acme.sh --cron`
|
The certificate will be checked twice per week for renewal at 2am
|
||||||
so when the router is rebooted or you ssh into it, it tries to renew the cert.
|
|
||||||
|
|
||||||
HTH
|
|
||||||
Reference in New Issue
Block a user