Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3354997
D7016.id23560.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
539 B
Referenced Files
None
Subscribers
None
D7016.id23560.diff
View Options
diff --git a/nix/redis-up-mac.nix b/nix/redis-up-mac.nix
--- a/nix/redis-up-mac.nix
+++ b/nix/redis-up-mac.nix
@@ -19,6 +19,10 @@
# (https://linear.app/comm/issue/ENG-3254/remove-wait-logic-in-nix-develop)
exec 3>&-
+ # We want to launch from `$REDIS_CACHE_DIR` so `dump.rdp` will
+ # be persisted there instead of in the root of the repo.
+ cd "$REDIS_CACHE_DIR"
+
# 'exec' allows for us to replace bash process with Redis
exec ${redis}/bin/redis-server \
&> "$REDIS_CACHE_DIR"/logs
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Nov 24, 1:49 PM (16 h, 55 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2576073
Default Alt Text
D7016.id23560.diff (539 B)
Attached To
Mode
D7016: [nix] Launch `redis-server` from `REDIS_CACHE_DIR`
Attached
Detach File
Event Timeline
Log In to Comment