Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
fidel committed Jan 3, 2025
1 parent b2ac269 commit 8e3f7c3
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions support/nix/redis.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,9 @@ mkShell {
buildInputs = [ redis ];

shellHook = ''
set -x
${builtins.readFile ./pushtrap.sh}
# TMP=$(mktemp -d)
mkdir -p /home/runner/_temp/kakadudu
TMP=/home/runner/_temp/kakadudu
TMP=$(mktemp -d)
SOCKET=$TMP/redis.sock
PIDFILE=$TMP/redis.pid
LOGFILE=/home/runner/_temp/redis.log
Expand All @@ -28,7 +24,5 @@ mkShell {
export REDIS_URL="unix://$SOCKET"
pushtrap "kill -9 $(cat $PIDFILE);rm -rf $TMP" EXIT
set +x
'';
}

0 comments on commit 8e3f7c3

Please sign in to comment.