diff options
author | Sandro <sandro.jaeckel@gmail.com> | 2023-12-05 22:27:26 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-05 22:27:26 +0100 |
commit | 04b28d5c69bb6abf8a68c9d0619a07fc4b235798 (patch) | |
tree | 3703368681428a3ad3061cbd36dfa80dca704b19 /pkgs/servers/web-apps | |
parent | b1cea2ed0389442182814dc197aeb72986b5e362 (diff) | |
download | nixlib-04b28d5c69bb6abf8a68c9d0619a07fc4b235798.tar nixlib-04b28d5c69bb6abf8a68c9d0619a07fc4b235798.tar.gz nixlib-04b28d5c69bb6abf8a68c9d0619a07fc4b235798.tar.bz2 nixlib-04b28d5c69bb6abf8a68c9d0619a07fc4b235798.tar.lz nixlib-04b28d5c69bb6abf8a68c9d0619a07fc4b235798.tar.xz nixlib-04b28d5c69bb6abf8a68c9d0619a07fc4b235798.tar.zst nixlib-04b28d5c69bb6abf8a68c9d0619a07fc4b235798.zip |
discourse: stop redis (#244037)
Diffstat (limited to 'pkgs/servers/web-apps')
-rw-r--r-- | pkgs/servers/web-apps/discourse/default.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/servers/web-apps/discourse/default.nix b/pkgs/servers/web-apps/discourse/default.nix index 893404a6084f..320eac3bc8ce 100644 --- a/pkgs/servers/web-apps/discourse/default.nix +++ b/pkgs/servers/web-apps/discourse/default.nix @@ -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 = '' |