Permalink
Browse files

Fix redis install script.

  • Loading branch information...
1 parent 5abe201 commit fc4c9a438a15da0948e7a6f9c53d8d217d2b811a @huacnlee committed Aug 7, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 install_redis
View
@@ -14,12 +14,12 @@ echo "Now install service to /etc/init.d ..."
sudo cp redis-server /etc/init.d/redis-server
sudo chmod +x /etc/init.d/redis-server
-sudo cp redis.conf /etc/redis.conf
+sudo cp redis.conf /usr/local/etc/redis.conf
sudo useradd redis
sudo mkdir -p /var/lib/redis
sudo mkdir -p /var/log/redis
sudo chown redis.redis /var/lib/redis
sudo chown redis.redis /var/log/redis
-sudo /etc/init.d/redis-server start
+sudo /etc/init.d/redis-server start

0 comments on commit fc4c9a4

Please sign in to comment.