Instantly share code, notes, and snippets.

@asayamakk /
Last active Jan 13, 2018

What would you like to do? for redis on mac os

This patch expects that uncompressed redis source is at /usr/local/src/redis-4.0.6.
Please change the redis path to fit your environment.

You can find more information here (in Japanese).

--- 2017-12-05 02:01:09.000000000 +0900
+++ 2018-01-13 10:23:40.000000000 +0900
@@ -153,9 +153,9 @@
#render the templates
if [ ! -f "$DEFAULT_CONFIG" ]; then
@@ -271,7 +271,7 @@
echo "No supported init tool found."
-/etc/init.d/redis_$REDIS_PORT start || die "Failed starting service..."
+# /etc/init.d/redis_$REDIS_PORT start || die "Failed starting service..."
echo "Installation successful!"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment