Use load -w instead of load

Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
Tommy 2024-04-09 01:10:50 -07:00
parent 622f7d4995
commit fa971922a6
Signed by: Tomster
GPG Key ID: 555C902A34EC968F
1 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,7 @@ Next, create `/Library/LaunchDaemons/io.tommytran.prefs.plist`:
Finally, load in the service:
```
sudo launchctl load /Library/LaunchDaemons/io.tommytran.prefs.plist
sudo launchctl load -w /Library/LaunchDaemons/io.tommytran.prefs.plist
```
I have also noticed that Microsoft Edge does not seem to reload Managed Preferences probably until the computer reboots. Note that this may not work after a macOS update, and you will need to reboot the computer again for the policies to apply. I am not sure if this is a macOS behavior or if it is caused because my machine is not enrolled in an MDM.