We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 21b0b6f commit 98bef17Copy full SHA for 98bef17
templates/Debian/redis.init.j2
@@ -28,8 +28,8 @@ REDIS_USER={{ redis_user }}
28
CONF="/etc/redis/${REDIS_PORT}.conf"
29
CLIEXEC="{{ redis_install_dir }}/bin/redis-cli -p ${REDIS_PORT}"
30
31
-if [ -r /etc/default/redis_${REDIS_PORT} ]; then
32
- . /etc/default/redis_${REDIS_PORT}
+if [ -r /etc/default/{{ redis_service_name }} ]; then
+ . /etc/default/{{ redis_service_name }}
33
fi
34
35
if [ -n "$REDIS_PASSWORD" ]; then
0 commit comments