summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2019-01-10 17:06:57 +0100
committerRemi Collet <remi@remirepo.net>2019-01-10 17:06:57 +0100
commitdff576f395bb7bb84c837aeb8a2827724c7f8f48 (patch)
treedfeb185b53a08384859137cd662e64cea5ef9c04
parentf857e8558c61c3e8e30a119b6e23df0f42a2bdb1 (diff)
fix sentinel logfile configuration
-rw-r--r--redis.spec2
1 files changed, 1 insertions, 1 deletions
diff --git a/redis.spec b/redis.spec
index f588b43..51f1d5a 100644
--- a/redis.spec
+++ b/redis.spec
@@ -199,7 +199,7 @@ mv deps/hiredis/COPYING COPYING-hiredis
# Configuration file changes and additions
sed -i -e 's|^logfile .*$|logfile /var/log/redis/redis.log|g' redis.conf
-sed -i -e '$ alogfile /var/log/redis/sentinel.log' sentinel.conf
+sed -i -e 's|^logfile .*$|logfile /var/log/redis/sentinel.log|g' sentinel.conf
sed -i -e 's|^dir .*$|dir /var/lib/redis|g' redis.conf
# Module API version safety check