diff --git a/shell.nix b/shell.nix index d7f08b4..b94b71d 100644 --- a/shell.nix +++ b/shell.nix @@ -35,7 +35,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 ''; }