Created
June 20, 2019 12:18
-
-
Save kim4apple/6be5a029e28426a51d44c80e9ce427ab to your computer and use it in GitHub Desktop.
Mac Server.app Fixes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Even though device management is disabled in Server.app, | |
# the processes still run. Which the only issue with this is | |
# it causes extremely slow shutdown times. So here we disable this shit | |
sudo launchctl stop com.apple.DeviceManagement.postgres; | |
sudo launchctl remove com.apple.DeviceManagement.postgres; | |
sudo launchctl unload -w /Applications/Server.app/Contents/ServerRoot/System/Library/LaunchDaemons/com.apple.DeviceManagement.postgres.plist | |
# Same goes for calendar server | |
sudo launchctl stop org.calendarserver.agent; | |
sudo launchctl remove org.calendarserver.agent; | |
sudo launchctl unload -w /Applications/Server.app/Contents/ServerRoot/System/Library/LaunchDaemons/org.calendarserver.agent.plist |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment