Example redis.conf doc about pidfile fixed.

An user changed the behavior via a PR without upgrading the doc.
This commit is contained in:
antirez 2015-04-26 19:23:24 +02:00
parent 6c60526db9
commit 1a93501f8b

View File

@ -113,8 +113,15 @@ daemonize no
# They do not enable continuous liveness pings back to your supervisor. # They do not enable continuous liveness pings back to your supervisor.
supervised no supervised no
# When running daemonized, Redis writes a pid file in /var/run/redis.pid by # If a pid file is specified, Redis writes it where specified at startup
# default. You can specify a custom pid file location here. # and removes it at exit.
#
# When the server runs non daemonized, no pid file is created if none is
# specified in the configuration. When the server is daemonized, the pid file
# is used even if not specified, defaulting to "/var/run/redis.pid".
#
# Creating a pid file is best effort: if Redis is not able to create it
# nothing bad happens, the server will start and run normally.
pidfile /var/run/redis.pid pidfile /var/run/redis.pid
# Specify the server verbosity level. # Specify the server verbosity level.