From 5faf9de93eb7a257687fa953df5d38f66b47b49a Mon Sep 17 00:00:00 2001 From: Kishi85 Date: Tue, 23 Jul 2019 17:23:14 +0200 Subject: [PATCH] mail: fix redis config --- roles/mail/files/redis.conf | 6 ------ roles/mail/handlers/main.yml | 2 +- roles/mail/tasks/main.yml | 2 +- 3 files changed, 2 insertions(+), 8 deletions(-) diff --git a/roles/mail/files/redis.conf b/roles/mail/files/redis.conf index 2318b4c..e8b567d 100644 --- a/roles/mail/files/redis.conf +++ b/roles/mail/files/redis.conf @@ -10,7 +10,6 @@ pidfile /var/run/redis/redis-server.pid loglevel notice logfile /var/log/redis/redis-server.log databases 16 -always-show-logo yes save 900 1 save 300 10 save 60 10000 @@ -27,10 +26,6 @@ repl-disable-tcp-nodelay no slave-priority 100 maxmemory 500mb maxmemory-policy volatile-lru -lazyfree-lazy-eviction no -lazyfree-lazy-expire no -lazyfree-lazy-server-del no -slave-lazy-flush no appendonly yes appendfilename "appendonly.aof" appendfsync everysec @@ -38,7 +33,6 @@ no-appendfsync-on-rewrite no auto-aof-rewrite-percentage 100 auto-aof-rewrite-min-size 64mb aof-load-truncated yes -aof-use-rdb-preamble no lua-time-limit 5000 slowlog-log-slower-than 10000 slowlog-max-len 128 diff --git a/roles/mail/handlers/main.yml b/roles/mail/handlers/main.yml index 939d219..83a66b3 100644 --- a/roles/mail/handlers/main.yml +++ b/roles/mail/handlers/main.yml @@ -12,7 +12,7 @@ service: name=postsrsd state=restarted - name: Restart redis - service: name=redis state=restarted + service: name=redis-server state=restarted - name: Restart rspamd service: name=rspamd state=restarted diff --git a/roles/mail/tasks/main.yml b/roles/mail/tasks/main.yml index 1798733..544ec65 100644 --- a/roles/mail/tasks/main.yml +++ b/roles/mail/tasks/main.yml @@ -179,7 +179,7 @@ service: name=postfix state=started enabled=yes - name: Start redis - service: name=rspamd state=started enabled=yes + service: name=redis-server state=started enabled=yes - name: Start rspamd service: name=rspamd state=started enabled=yes