discourse: stop redis (#244037)

This commit is contained in:
Sandro 2023-12-05 22:27:26 +01:00 committed by GitHub
parent b1cea2ed03
commit 04b28d5c69
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -279,6 +279,7 @@ let
popd &>/dev/null
redis-server >/dev/null &
REDIS_PID=$!
initdb -A trust $NIX_BUILD_TOP/postgres >/dev/null
postgres -D $NIX_BUILD_TOP/postgres -k $NIX_BUILD_TOP >/dev/null &
@ -304,6 +305,8 @@ let
bundle exec rake db:migrate >/dev/null
chmod -R +w tmp
kill $REDIS_PID
'';
buildPhase = ''