Mercurial Hosting > luan
changeset 2061:dd10659fcdb9 acme-tiny tip
Renew ssl monthly instead of daily; Fix renewSsl.sh
| author | Violet7 |
|---|---|
| date | Thu, 13 Nov 2025 23:17:16 -0800 |
| parents | 546daa22aa39 |
| children | |
| files | host/macos/renewSsl.plist host/macos/startupScripts.sh host/renewSsl.sh |
| diffstat | 3 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/host/macos/renewSsl.plist Thu Nov 13 14:22:30 2025 -0700 +++ b/host/macos/renewSsl.plist Thu Nov 13 23:17:16 2025 -0800 @@ -12,6 +12,8 @@ <key>StartCalendarInterval</key> <array> <dict> + <key>Day</key> + <integer>1</integer> <key>Hour</key> <integer>00</integer> <key>Minute</key>
--- a/host/macos/startupScripts.sh Thu Nov 13 14:22:30 2025 -0700 +++ b/host/macos/startupScripts.sh Thu Nov 13 23:17:16 2025 -0800 @@ -13,5 +13,7 @@ for file in *.plist; do sudo ln -sf ${localStartup}/${file} ${systemStarup}/${file}; sudo chown root:wheel ${localStartup}/${file}; + sudo launchctl unload ${systemStarup}/${file}; + sudo launchctl load ${systemStarup}/${file}; done; }
