brew install memcached – easy, but where is the config file?

Posted on

QUESTION :

I’ve installed memcached on osx 10.9 using brew. I want to change default settings, but where does brew look for config file and what is the name?

I tried to put it here /usr/local/etc/memcached.conf but it didn’t like it.

So where?

ANSWER :

Figured it out.

ln -sfv /usr/local/opt/memcached/*.plist ~/Library/LaunchAgents
vi /usr/local/opt/memcached/*.plist

plist file is an xml that contains all the options for memcached.

modify as needed and than:

launchctl load ~/Library/LaunchAgents/homebrew.mxcl.memcached.plist

Leave a Reply

Your email address will not be published. Required fields are marked *