logo

overlay

My own overlay for experimentations, use with caution, no support is provided git clone https://hacktivis.me/git/overlay.git

redict-6.2.1-config.patch (1487B)


  1. diff --git a/redict.conf b/redict.conf
  2. index 465d56f..ef56037 100644
  3. --- a/redict.conf
  4. +++ b/redict.conf
  5. @@ -276,7 +276,7 @@ daemonize no
  6. #
  7. # Note that on modern Linux systems "/run/redis.pid" is more conforming
  8. # and should be used instead.
  9. -pidfile /var/run/redict_6379.pid
  10. +pidfile /run/redict/redict.pid
  11. # Specify the server verbosity level.
  12. # This can be one of:
  13. @@ -289,7 +289,7 @@ loglevel notice
  14. # Specify the log file name. Also the empty string can be used to force
  15. # Redis to log on the standard output. Note that if you use standard
  16. # output for logging but daemonize, logs will be sent to /dev/null
  17. -logfile ""
  18. +logfile /var/log/redict/redict.log
  19. # To enable logging to the system logger, just set 'syslog-enabled' to yes,
  20. # and optionally update the other syslog parameters to suit your needs.
  21. @@ -441,7 +441,7 @@ rdb-del-sync-files no
  22. # The Append Only File will also be created inside this directory.
  23. #
  24. # Note that you must specify a directory here, not a file name.
  25. -dir ./
  26. +dir /var/lib/redict/
  27. ################################# REPLICATION #################################
  28. @@ -967,7 +967,7 @@ acllog-max-len 128
  29. # limit for maxmemory so that there is some free RAM on the system for replica
  30. # output buffers (but this is not needed if the policy is 'noeviction').
  31. #
  32. -# maxmemory <bytes>
  33. +maxmemory 64MB
  34. # MAXMEMORY POLICY: how Redis will select what to remove when maxmemory
  35. # is reached. You can select one from the following behaviors: