Advertisement
Mroczny337

Redis Configuration

Sep 6th, 2021
24
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. unixsocket /home/redis/sock/redis.sock
  2. unixsocketperm 777
  3.  
  4. bind 127.0.0.1
  5. protected-mode yes
  6. spervised systemd
  7.  
  8. daemonize yes
  9. pidfile /var/run/redis.pid
  10. logfile /home/redis/log/redis.log
  11. timeout 300
  12. loglevel notice
  13. stop-writes-on-bgsave-error no
  14. rdbcompression yes
  15. dbfilename dump.rdb
  16. dir /home/redis/db/
  17. requirepass changeme
  18. maxmemory 1024M
  19. save 900 1
  20. save 300 10
  21. save 60 10000
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement