Mercurial Hosting > luan
comparison host/macos/startupScripts.sh @ 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 | 6378d261136e |
| children |
comparison
equal
deleted
inserted
replaced
| 2060:546daa22aa39 | 2061:dd10659fcdb9 |
|---|---|
| 11 function addStartup() { | 11 function addStartup() { |
| 12 cd $localStartup; | 12 cd $localStartup; |
| 13 for file in *.plist; do | 13 for file in *.plist; do |
| 14 sudo ln -sf ${localStartup}/${file} ${systemStarup}/${file}; | 14 sudo ln -sf ${localStartup}/${file} ${systemStarup}/${file}; |
| 15 sudo chown root:wheel ${localStartup}/${file}; | 15 sudo chown root:wheel ${localStartup}/${file}; |
| 16 sudo launchctl unload ${systemStarup}/${file}; | |
| 17 sudo launchctl load ${systemStarup}/${file}; | |
| 16 done; | 18 done; |
| 17 } | 19 } |
