Created
May 12, 2010 16:57
-
-
Save zachhale/398823 to your computer and use it in GitHub Desktop.
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
sudo vim /Library/LaunchDaemons/org.redis.redis-server.plist | |
<?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/local/bin/redis-server</string> | |
<key>RunAtLoad</key> | |
<true/> | |
<key>StandardErrorPath</key> | |
<string>/usr/local/var/log/redis-server/error.log</string> | |
<key>StandardOutPath</key> | |
<string>/usr/local/var/log/redis-server/output.log</string> | |
</dict> | |
</plist> | |
sudo mkdir /usr/local/var/log/redis-server # or don't if you don't really want the logs | |
sudo launchctl load /Library/LaunchDaemons/org.redis.redis-server.plist |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment