diff --git a/shell.nix b/shell.nix index 668da69..5f19502 100644 --- a/shell.nix +++ b/shell.nix @@ -72,7 +72,8 @@ pkgs.mkShell { # for example. printenv will not fetch the value of an attribute. export USE_REDIS_PORT=6379 pkill redis-server - redis-server --bind 127.0.0.1 --port $USE_REDIS_PORT >/dev/null & + sleep 2 + setsid redis-server --bind 127.0.0.1 --port $USE_REDIS_PORT >/dev/null 2>/dev/null & # maybe set more env-vars ''; }