Fix redis.conf pid and data dir settings

Override template to make it ubuntu compliant, so pid_file match
the init script settings and data dir is ubuntu standard now.

Change-Id: Ic1a24514ae85cd3bc5c86a1574af88aec188ebdc
Closes-Bug: #1309019
This commit is contained in:
Marton Kiss 2014-04-17 16:35:11 +02:00
parent 0f1f7844ba
commit 887529ed1d

View File

@ -18,7 +18,7 @@ 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_<%= redis_port %>.pid
pidfile /var/run/redis/redis-server.pid
# Accept connections on the specified port, default is 6379.
# If port 0 is specified Redis will not listen on a TCP socket.
@ -103,7 +103,7 @@ dbfilename dump.rdb
# Also the Append Only File will be created inside this directory.
#
# Note that you must specify a directory here, not a file name.
dir ./
dir /var/lib/redis
################################# REPLICATION #################################