Created
February 20, 2015 18:27
-
-
Save DanKnox/21fff6596473ce634267 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# By default Redis does not run as a daemon. Use 'yes' if you need it. | |
# Note that Redis will write a pid file in /var/run/redis.pid when daemonized. | |
daemonize yes | |
# When running daemonized, Redis writes a pid file in /var/run/redis.pid by | |
# default. You can specify a custom pid file location here. | |
pidfile /var/run/redis.pid | |
# Accept connections on the specified port, default is 6379. | |
# If port 0 is specified Redis will not listen on a TCP socket. | |
port 6379 | |
# If you want you can bind a single interface, if the bind option is not | |
# specified all the interfaces will listen for incoming connections. | |
# | |
bind 0.0.0.0 | |
# Specify the path for the unix socket that will be used to listen for | |
# incoming connections. There is no default, so Redis will not listen | |
# on a unix socket when not specified. | |
# | |
# unixsocket /tmp/redis.sock | |
# unixsocketperm 755 | |
# Close the connection after a client is idle for N seconds (0 to disable) | |
timeout 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment