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