summaryrefslogtreecommitdiffstats
path: root/redis.init
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2014-09-12 18:09:08 +0200
committerRemi Collet <fedora@famillecollet.com>2014-09-12 18:09:08 +0200
commit912b891ca07160a56924e91db92e8b4d40aa1175 (patch)
tree6926b3a08869aede23d8577f9a899a76b4909129 /redis.init
parent5d9fa3923a03b577eca13ba60fb95b36d9e5df72 (diff)
redis: 2.8.15
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