diff options
author | Remi Collet <fedora@famillecollet.com> | 2014-09-12 18:09:08 +0200 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2014-09-12 18:09:08 +0200 |
commit | 912b891ca07160a56924e91db92e8b4d40aa1175 (patch) | |
tree | 6926b3a08869aede23d8577f9a899a76b4909129 /redis.init | |
parent | 5d9fa3923a03b577eca13ba60fb95b36d9e5df72 (diff) |
redis: 2.8.15
Diffstat (limited to 'redis.init')
-rw-r--r-- | redis.init | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -9,7 +9,7 @@ . /etc/rc.d/init.d/functions name="redis-server" -exec="/usr/sbin/$name" +exec="/usr/bin/$name" pidfile="/var/run/redis/redis.pid" REDIS_CONFIG="/etc/redis.conf" @@ -21,7 +21,7 @@ start() { [ -f $REDIS_CONFIG ] || exit 6 [ -x $exec ] || exit 5 echo -n $"Starting $name: " - daemon --user ${REDIS_USER-redis} "$exec $REDIS_CONFIG --daemonize yes --pidfile $pidfile" + daemon --user ${REDIS_USER-redis} "$exec $REDIS_CONFIG --daemonize yes --pidfile $pidfile" retval=$? echo [ $retval -eq 0 ] && touch $lockfile |