redis: add variable for configure unixsocketperm

This commit is contained in:
Victor LABORIE 2019-01-28 14:26:13 +01:00
parent 2c874afb3c
commit fabac07210
3 changed files with 3 additions and 0 deletions

View File

@ -11,6 +11,7 @@ The **patch** part changes incrementally at each release.
## [Unreleased]
### Added
* redis: add variable for configure unixsocketperm
### Changed

View File

@ -5,6 +5,7 @@ redis_conf_path: /etc/redis/redis.conf
redis_port: 6379
redis_bind_interface: 127.0.0.1
redis_unixsocket: '/var/run/redis/redis.sock'
redis_unixsocketperm: 770
redis_pidfile: "/var/run/redis/{{ redis_daemon }}.pid"
redis_timeout: 300

View File

@ -5,6 +5,7 @@ bind {{ redis_bind_interface }}
{% if redis_unixsocket %}
unixsocket {{ redis_unixsocket }}
unixsocketperm {{ redis_unixsocketperm }}
{% endif %}
{% if redis_password %}