Browse Source

chnage startup opitons

Chris Mague 4 years ago
parent
commit
d45aae9589
1 changed files with 1 additions and 1 deletions
  1. 1 1
      ansible/templates/systemd_redis.j2

+ 1 - 1
ansible/templates/systemd_redis.j2

@@ -12,7 +12,7 @@ WorkingDirectory=/redis/persistant/cpredis
 Type=simple
 LimitNOFILE=65535
 User=redis
-ExecStart=/usr/local/bin/redis-server --port {{ item['port'] }} --protected-mode no --dbfilename {{ item['port'] }}-redis.rdb --loadmodule /home/redis/redisraft/redisraft.so addr={{ ansible_default_ipv4.address }}:{{ item['port'] }} raft-log-fsync=no follower-proxy=no raftize-all-commands=yes cluster-start-hslot={{ item['start-hslot'] }} cluster-end-hslot={{ item['end-hslot'] }} raft-log-filename={{ item['port'] }}-raftlog.db cluster-mode=yes
+ExecStart=/usr/local/bin/redis-server --save "" --appendonly no --port {{ item['port'] }} --protected-mode no --dbfilename {{ item['port'] }}-redis.rdb --loadmodule /home/redis/redisraft/redisraft.so addr={{ ansible_default_ipv4.address }}:{{ item['port'] }} raft-log-fsync=no follower-proxy=no raftize-all-commands=yes cluster-start-hslot={{ item['start-hslot'] }} cluster-end-hslot={{ item['end-hslot'] }} raft-log-filename={{ item['port'] }}-raftlog.db cluster-mode=yes
 StandardOutput=file:/var/log/cpredis/redis-{{ item['port'] }}.log
 StandardError=file:/var/log/cpredis/redis-{{ item['port'] }}-error.log