summaryrefslogtreecommitdiffstats
path: root/redis.init
diff options
context:
space:
mode:
Diffstat (limited to 'redis.init')
-rw-r--r--redis.init4
1 files changed, 2 insertions, 2 deletions
diff --git a/redis.init b/redis.init
index f100f9f..0479769 100644
--- a/redis.init
+++ b/redis.init
@@ -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