Created
May 17, 2012 14:37
-
-
Save kapkaev/2719334 to your computer and use it in GitHub Desktop.
Revisions
-
kapkaev created this gist
May 17, 2012 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,21 @@ #sudo vim /Library/LaunchDaemons/io.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>io.redis.redis-server</string> <key>ProgramArguments</key> <array> <string>/usr/local/bin/redis-server</string> <string>/optional/path/to/redis.conf</string> </array> <key>RunAtLoad</key> <true/> </dict> </plist> #sudo launchctl load /Library/LaunchDaemons/io.redis.redis-server.plist #sudo launchctl start io.redis.redis-server #sudo launchctl stop io.redis.redis-server