Merge pull request #202211 from helsinki-systems/fix/redis-requirepass

This commit is contained in:
Martin Weinelt 2022-11-21 20:25:13 +01:00 committed by GitHub
commit 3d332ee800
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -361,8 +361,10 @@ in {
fi
echo 'include "${redisConfStore}"' > "${redisConfRun}"
${optionalString (conf.requirePassFile != null) ''
{echo -n "requirepass "
cat ${escapeShellArg conf.requirePassFile}} >> "${redisConfRun}"
{
echo -n "requirepass "
cat ${escapeShellArg conf.requirePassFile}
} >> "${redisConfRun}"
''}
'');
Type = "notify";