From 8fe3bb0ef7010251babc4c9f7fee5a491cbc8620 Mon Sep 17 00:00:00 2001 From: Corey Donohoe Date: Sat, 29 May 2010 13:57:40 -0700 Subject: [PATCH] add a launchctl script for redis-server Signed-off-by: Adam Vandenberg --- Formula/redis.rb | 38 +++++++++++++++++++++++++++++++++----- 1 file changed, 33 insertions(+), 5 deletions(-) diff --git a/Formula/redis.rb b/Formula/redis.rb index 1fd65084b8..dca2364faf 100644 --- a/Formula/redis.rb +++ b/Formula/redis.rb @@ -15,26 +15,54 @@ class Redis + + + + KeepAlive + + Label + io.redis.redis-server + ProgramArguments + + #{bin}/redis-server + #{etc}/redis.conf + + RunAtLoad + + UserName + #{`whoami`.chomp} + WorkingDirectory + #{var} + + + EOPLIST + end end