From 4eb7c708718d074d685f52940603e3f9fbde3d4e Mon Sep 17 00:00:00 2001 From: timo Date: Sat, 6 May 2017 15:43:28 +0200 Subject: [PATCH] Formatting --- docs/redis.md | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/docs/redis.md b/docs/redis.md index 06665247c..8fe78d3b1 100644 --- a/docs/redis.md +++ b/docs/redis.md @@ -1,4 +1,4 @@ -### Client +## Client Redis is used as a key-value store for (some of) mailcow's and rspamd's settings and data. If you are unfamilliar with redis please read the [introduction to redis](https://redis.io/topics/introduction) and maybe visit this [wonderfull guide](http://try.redis.io/) on how to use it. @@ -10,7 +10,10 @@ docker-compose exec redis-mailcow redis-cli Here are some usefull commands for the redis-cli for debugging: -**monitor**: Listens for all requests received by the server in real time: +##### MONITOR + +Listens for all requests received by the server in real time: + ``` # docker-compose exec redis-mailcow redis-cli 127.0.0.1:6379> monitor @@ -20,13 +23,17 @@ OK [...] ``` -**keys**: Get all keys matching your pattern: +##### KEYS + +Get all keys matching your pattern: ``` ``` -**ping**: Test a connection +##### PING + +Test a connection: ``` 127.0.0.1:6379> PING