Skip to content
Snippets Groups Projects
Commit 863b2b97 authored by Jan Hák's avatar Jan Hák Committed by Daniel Salzman
Browse files

redis: add a test script for monitoring

parent 4ba97bd3
No related branches found
No related tags found
No related merge requests found
#!/usr/bin/env bash
# Set database to event listening and then watch DB 0 for changes (SET action)
keydb-cli "$@" <<-EOF
CONFIG SET notify-keyspace-events KEA
PSUBSCRIBE '__keyevent@0__:set'
EOF
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment