Hello,
I am setting up a development environment for a new job. I have
installed memached on my machine. However, I am having issues
configuring memached to autostart. I am attempting to do this on my
Mac machine's command line.
The development manual that I am currently using lists a series of
steps that I have placed on the bottom of this email...I was able to
run the command "brew install memcached" without any issues. Is the
other code, correct? Or has the process been updated?
brew install memcached
cp /usr/local/Cellar/memcached/1.4.11/com.danga.memcached.plist ~/
Library/LaunchAgents/
Edit ~/Library/LaunchAgents/com.danga.memcached.plist, replacing the
<array> section with the following:
<array>
<string>/usr/local/bin/memcached</string>
<string>-u</string>
<string>nobody</string>
<string>-m</string>
<string>16</string>
<string>-c</string>
<string>10240</string>
<string>-p</string>
<string>11211</string>
</array>
launchctl load -w ~/Library/LaunchAgents/com.danga.memcached.plist
Note: If you get an error that says: launchctl no plist returned
for....
Try opening the file with the Property List Editor and make sure there
are no errors then re-save. The Property List Editor will save it in a
valid format.{color}