Permalink
Browse files

Updated redis 2.6.9. Added start/stop.

  • Loading branch information...
1 parent 72505a3 commit f964804ca080312fa36a28d0a209a88f9fc7567d @wayneeseguin wayneeseguin committed Jan 29, 2013
Showing with 24 additions and 15 deletions.
  1. +4 −0 redis/bin/start
  2. +4 −0 redis/bin/stop
  3. +1 −1 redis/config/defaults
  4. +0 −14 redis/shell/functions
  5. +15 −0 redis/shell/initialize
View
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+${service_binary} "${service_config_file}"
+
View
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+${service_cli_binary} -p ${service_port} shutdown
+
View
@@ -1,3 +1,3 @@
-version=2.6.8
+version=2.6.9
base_url=http://redis.googlecode.com/files
website_url=http://redis.io/
View
@@ -1,17 +1,3 @@
#!/bin/sh
-redis_initialize()
-{
- # Redis Configuration.
- true ${service_port:=6379} ${service_bind_interface:="127.0.0.1"}
-
- service_binary="${active_path}/bin/redis-server"
- service_cli_binary="${active_path}/bin/redis-cli"
- service_db_file="${service_db_path}/active/redis.rdb"
-
- if ! string contains "${service_config_file}" "${service_flags[*]}"
- then
- service_flags+=( "${service_config_file}" )
- fi
-}
View
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+# Redis Configuration.
+true ${service_config_file:="/etc/redis/redis.conf"} ${service_port:="6379"} \
+ ${service_bind_interface:="127.0.0.1"}
+
+ service_binary="${active_path}/bin/redis-server"
+ service_cli_binary="${active_path}/bin/redis-cli"
+ service_db_file="${service_db_path}/active/redis.rdb"
+
+ if ! string contains "${service_config_file}" "${service_flags[*]}"
+ then
+ service_flags+=( "${service_config_file}" )
+ fi
+

0 comments on commit f964804

Please sign in to comment.