mail: fix redis config
This commit is contained in:
parent
5df4457b0e
commit
5faf9de93e
@ -10,7 +10,6 @@ pidfile /var/run/redis/redis-server.pid
|
|||||||
loglevel notice
|
loglevel notice
|
||||||
logfile /var/log/redis/redis-server.log
|
logfile /var/log/redis/redis-server.log
|
||||||
databases 16
|
databases 16
|
||||||
always-show-logo yes
|
|
||||||
save 900 1
|
save 900 1
|
||||||
save 300 10
|
save 300 10
|
||||||
save 60 10000
|
save 60 10000
|
||||||
@ -27,10 +26,6 @@ repl-disable-tcp-nodelay no
|
|||||||
slave-priority 100
|
slave-priority 100
|
||||||
maxmemory 500mb
|
maxmemory 500mb
|
||||||
maxmemory-policy volatile-lru
|
maxmemory-policy volatile-lru
|
||||||
lazyfree-lazy-eviction no
|
|
||||||
lazyfree-lazy-expire no
|
|
||||||
lazyfree-lazy-server-del no
|
|
||||||
slave-lazy-flush no
|
|
||||||
appendonly yes
|
appendonly yes
|
||||||
appendfilename "appendonly.aof"
|
appendfilename "appendonly.aof"
|
||||||
appendfsync everysec
|
appendfsync everysec
|
||||||
@ -38,7 +33,6 @@ no-appendfsync-on-rewrite no
|
|||||||
auto-aof-rewrite-percentage 100
|
auto-aof-rewrite-percentage 100
|
||||||
auto-aof-rewrite-min-size 64mb
|
auto-aof-rewrite-min-size 64mb
|
||||||
aof-load-truncated yes
|
aof-load-truncated yes
|
||||||
aof-use-rdb-preamble no
|
|
||||||
lua-time-limit 5000
|
lua-time-limit 5000
|
||||||
slowlog-log-slower-than 10000
|
slowlog-log-slower-than 10000
|
||||||
slowlog-max-len 128
|
slowlog-max-len 128
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
service: name=postsrsd state=restarted
|
service: name=postsrsd state=restarted
|
||||||
|
|
||||||
- name: Restart redis
|
- name: Restart redis
|
||||||
service: name=redis state=restarted
|
service: name=redis-server state=restarted
|
||||||
|
|
||||||
- name: Restart rspamd
|
- name: Restart rspamd
|
||||||
service: name=rspamd state=restarted
|
service: name=rspamd state=restarted
|
||||||
|
@ -179,7 +179,7 @@
|
|||||||
service: name=postfix state=started enabled=yes
|
service: name=postfix state=started enabled=yes
|
||||||
|
|
||||||
- name: Start redis
|
- name: Start redis
|
||||||
service: name=rspamd state=started enabled=yes
|
service: name=redis-server state=started enabled=yes
|
||||||
|
|
||||||
- name: Start rspamd
|
- name: Start rspamd
|
||||||
service: name=rspamd state=started enabled=yes
|
service: name=rspamd state=started enabled=yes
|
||||||
|
Loading…
Reference in New Issue
Block a user