Skip to content

Instantly share code, notes, and snippets.

@hernan43
Created May 7, 2013 14:45
Show Gist options
  • Save hernan43/5533145 to your computer and use it in GitHub Desktop.
Save hernan43/5533145 to your computer and use it in GitHub Desktop.
This is to set the kernel settings so that you can use Postgres query logging
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>sysctl</string>
<key>ProgramArguments</key>
<array>
<string>/usr/sbin/sysctl</string>
<string>-w</string>
<string>kern.sysv.shmmax=1073741824</string>
<string>kern.sysv.shmall=1073741824</string>
</array>
<key>RunAtLoad</key>
<true/>
</dict>
</plist>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment