Created
February 26, 2014 20:40
-
-
Save ryanniemeyer/9238070 to your computer and use it in GitHub Desktop.
Memcached launchd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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>memcached</string> | |
<key>ProgramArguments</key> | |
<array> | |
<string>/usr/bin/memcached</string> | |
<string>-d</string> | |
<string>-m</string> <string>256</string> | |
<string>-c</string> <string>4096</string> | |
<string>-p</string> <string>11211</string> | |
<string>-u</string> <string>memcached</string> | |
<string>-l</string> <string>127.0.0.1</string> | |
</array> | |
<key>Disabled</key> | |
<false/> | |
<key>KeepAlive</key> | |
<true/> | |
<key>RunAtLoad</key> | |
<true/> | |
<key>UserName</key> | |
<string>daemon</string> | |
<key>GroupName</key> | |
<string>daemon</string> | |
</dict> | |
</plist> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Save to /Library/LaunchDaemons/org.memcached.plist
Load: sudo launchctl load /Library/LaunchDaemons/org.memcached.plist