diff options
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 |