diff --git a/Synology-NAS-Guide.md b/Synology-NAS-Guide.md index 3f9c241..59bb414 100644 --- a/Synology-NAS-Guide.md +++ b/Synology-NAS-Guide.md @@ -99,9 +99,9 @@ By specifying a different `SYNO_Certificate` (and set `SYNO_Create=1` for creati ```sh # SYNO_Certificate is the description shown under Security -> Certificates in the DSM Control Panel -$ export SYNO_Certificate="A different certificate description" -$ export SYNO_Create=1 # Says to create the certificate if it doesn't exist -$ ./acme.sh --deploy --home . -d "subdomain.$CERT_DOMAIN" --deploy-hook synology_dsm +export SYNO_Certificate="A different certificate description" +export SYNO_Create=1 # Says to create the certificate if it doesn't exist +./acme.sh --deploy --home . -d "subdomain.$CERT_DOMAIN" --deploy-hook synology_dsm ``` ## Configuring Certificate Renewal @@ -115,14 +115,13 @@ In DSM control panel, open the 'Task Scheduler' and create a new scheduled task ```sh # renew certificates -/usr/local/share/acme.sh/acme.sh --cron --home /usr/local/share/acme.sh/ +./acme.sh --cron --home /usr/local/share/acme.sh/ ``` ## Fix a broken environment after Synology DSM upgrade ```sh -$ cd /usr/local/share/acme.sh -$ ./acme.sh --force --upgrade --nocron --home /usr/local/share/acme.sh +./acme.sh --force --upgrade --nocron --home /usr/local/share/acme.sh ``` or manually add below line into /root/.profile