commands/redis/redis_start.rb in rhoconnect-3.4.5 vs commands/redis/redis_start.rb in rhoconnect-4.0.0.beta.10
- old
+ new
@@ -1,6 +1,7 @@
Execute.define_task do
- desc "redis-start", 'Start redis'
+ desc "redis-start", 'Start redis on localhost'
def redis_start
- RedisRunner.start
- end #redis_start
-end #do
+ redis_array = config[:redis]
+ RedisRunner.start(redis_array)
+ end
+end
\ No newline at end of file