summaryrefslogtreecommitdiffstats
path: root/redis.init
diff options
context:
space:
mode:
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