mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 23:13:19 +00:00
discourse: stop redis (#244037)
This commit is contained in:
parent
b1cea2ed03
commit
04b28d5c69
@ -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 = ''
|
||||
|
Loading…
Reference in New Issue
Block a user