Created
April 24, 2012 01:29
-
-
Save baoshan/2475316 to your computer and use it in GitHub Desktop.
Redis Post Installation Configuration (Mac OS X)
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
curl -o /Library/LaunchDaemons/org.redis.redis-server.plist https://gist.github.com/raw/2475316/45fb490829e5539e6e2476f7d5117fc88b59acf7/org.redis.redis-server.plist | |
sudo launchctl load /Library/LaunchDaemons/org.redis.redis-server.plist | |
sudo launchctl start org.redis.redis-server |
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>org.redis.redis-server</string> | |
<key>Program</key> | |
<string>/usr/bin/redis-server</string> | |
<key>ProgramArguments</key> | |
<array> | |
<string>redis-server</string> | |
</array> | |
<key>RunAtLoad</key> | |
<true/> | |
<key>KeepAlive</key> | |
<true/> | |
<key>StandardErrorPath</key> | |
<string>/var/log/redis/output.log</string> | |
<key>StandardOutPath</key> | |
<string>/var/log/redis/output.log</string> | |
</dict> | |
</plist> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment