mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2026-01-09 08:32:09 +08:00
Extended the copy script for the renewed certificate to the smbftp service, Reverse Proxy and App-Portal
@@ -77,7 +77,19 @@ In DSM control panel, open the 'Task Scheduler' and create a new scheduled task
|
||||
|
||||
```
|
||||
# Note: The $CERT_FOLDER must be hardcoded here since the running environment is unknown. Don't blindly copy&paste
|
||||
# system default
|
||||
rsync -avzh "$CERT_FOLDER" "/usr/syno/etc/certificate/system/default/"
|
||||
# smbftp
|
||||
rsync -avzh "$CERT_FOLDER" "/usr/syno/etc/certificate/smbftpd/ftpd"
|
||||
# app portal
|
||||
while read -r dir ; do
|
||||
rsync -avzh "$CERT_FOLDER" "$dir"
|
||||
done < <(find /usr/syno/etc/certificate/ReverseProxy -maxdepth 1 -mindepth 1 -type d)
|
||||
# reverse proxy
|
||||
while read -r dir ; do
|
||||
rsync -avzh "$CERT_FOLDER" "$dir"
|
||||
done < <(find /usr/syno/etc/certificate/AppPortal -maxdepth 1 -mindepth 1 -type d)
|
||||
# reload certificate
|
||||
/usr/syno/sbin/synoservicectl --reload nginx
|
||||
```
|
||||
Now you should be all good.
|
||||
|
||||
Reference in New Issue
Block a user