Skip to content

Instantly share code, notes, and snippets.

@ihoka
Created January 23, 2015 13:10
Show Gist options
  • Save ihoka/460f8542aafa8332b2e4 to your computer and use it in GitHub Desktop.
Save ihoka/460f8542aafa8332b2e4 to your computer and use it in GitHub Desktop.
Memcached Launchd config with increased cache size
<?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>homebrew.mxcl.memcached</string>
<key>KeepAlive</key>
<true/>
<key>ProgramArguments</key>
<array>
<string>/usr/local/opt/memcached/bin/memcached</string>
<string>-l</string>
<string>localhost</string>
<string>-I</string>
<string>5m</string>
</array>
<key>RunAtLoad</key>
<true/>
<key>WorkingDirectory</key>
<string>/usr/local</string>
</dict>
</plist>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment