##
##  disque.conf -- Redis server configuration
##

#   daemon process
daemonize yes
pidfile @l_prefix@/var/disque/run/disque.pid
logfile @l_prefix@/var/disque/log/disque.log
loglevel notice

#   network connection
bind 127.0.0.1
port 6379
timeout 300
maxclients 128
requirepass local-secret
tcp-backlog 511
tcp-keepalive 0

#   replication master
#slaveof 127.0.0.2 6379
#masterauth remote-secret

#   database pool
maxmemory 100mb

#   disque-snapshot persistence
dir @l_prefix@/var/disque/db/

#   append-only-file persistence
appendonly no
appendfsync everysec
appendfilename disque.aof

