From 0f955937a95499fdb7588451335b8ebfde7bec7a Mon Sep 17 00:00:00 2001 From: Michael Price Date: Sat, 14 Jul 2018 00:14:32 -0400 Subject: [PATCH] Add step to restart redis after configuration change. Signed-off-by: Michael Price Signed-off-by: Roberto Rosario --- docs/topics/deploying.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/topics/deploying.rst b/docs/topics/deploying.rst index c6a8901420..deacf22578 100644 --- a/docs/topics/deploying.rst +++ b/docs/topics/deploying.rst @@ -134,6 +134,11 @@ Create the supervisor file at ``/etc/supervisor/conf.d/mayan.conf``:: stopwaitsecs = 1 user = mayan +Configure Redis to discard data when it runs out of memory:: + + echo "maxmemory-policy allkeys-lru" >> /etc/redis/redis.conf + systemctl restart redis + Enable and restart the services [1_]:: systemctl enable supervisor