Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- # These are the original gist links, linking to my gists now.
- # curl -O https://gist.githubusercontent.com/a2ikm/761c2ab02b7b3935679e55af5d81786a/raw/ab644cb92f216c019a2f032bbf25e258b01d87f9/limit.maxfiles.plist
- # curl -O https://gist.githubusercontent.com/a2ikm/761c2ab02b7b3935679e55af5d81786a/raw/ab644cb92f216c019a2f032bbf25e258b01d87f9/limit.maxproc.plist
- curl -O https://gist.githubusercontent.com/tombigel/d503800a282fcadbee14b537735d202c/raw/ed73cacf82906fdde59976a0c8248cce8b44f906/limit.maxfiles.plist
- curl -O https://gist.githubusercontent.com/tombigel/d503800a282fcadbee14b537735d202c/raw/ed73cacf82906fdde59976a0c8248cce8b44f906/limit.maxproc.plist
- sudo mv limit.maxfiles.plist /Library/LaunchDaemons
- sudo mv limit.maxproc.plist /Library/LaunchDaemons
- sudo chown root:wheel /Library/LaunchDaemons/limit.maxfiles.plist
- sudo chown root:wheel /Library/LaunchDaemons/limit.maxproc.plist
- sudo launchctl load -w /Library/LaunchDaemons/limit.maxfiles.plist
- sudo launchctl load -w /Library/LaunchDaemons/limit.maxproc.plist
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement