summaryrefslogtreecommitdiffstats
path: root/redis.init
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2014-01-06 15:21:59 +0100
committerRemi Collet <fedora@famillecollet.com>2014-01-06 15:21:59 +0100
commit9344f0e164a83b38791daf6b9a61d7294e1de652 (patch)
tree080092693571139b558387735ef05775e5d0ee04 /redis.init
parent6c0ced388602c8d7469594123b6064fd584a6106 (diff)
redis: add redis-sentinel (command + service)
Diffstat (limited to 'redis.init')
-rw-r--r--redis.init2
1 files changed, 1 insertions, 1 deletions
diff --git a/redis.init b/redis.init
index 14fad01..f100f9f 100644
--- a/redis.init
+++ b/redis.init
@@ -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"
+ daemon --user ${REDIS_USER-redis} "$exec $REDIS_CONFIG --daemonize yes --pidfile $pidfile"
retval=$?
echo
[ $retval -eq 0 ] && touch $lockfile