forked from ccchb/ansible
53 lines
1.2 KiB
YAML
53 lines
1.2 KiB
YAML
|
---
|
||
|
redis_log_size: '32m'
|
||
|
redis_log_mode: '750'
|
||
|
redis_log_uid: '20000'
|
||
|
redis_log_gid: '20000'
|
||
|
|
||
|
redis_service_dirs:
|
||
|
- ''
|
||
|
- '/env'
|
||
|
- '/data'
|
||
|
- '-log'
|
||
|
- '-log/env'
|
||
|
|
||
|
redis_service_scripts:
|
||
|
- /run
|
||
|
- /finish
|
||
|
- /data/check
|
||
|
- -log/run
|
||
|
- -log/finish
|
||
|
|
||
|
redis_service_config:
|
||
|
- name: /type
|
||
|
content: longrun
|
||
|
- name: /producer-for
|
||
|
content: redis-{{ redis_instance }}-log
|
||
|
- name: /notification-fd
|
||
|
content: 3
|
||
|
- name: /env/NAME
|
||
|
content: 'redis-{{ redis_instance }}'
|
||
|
- name: /env/PATH
|
||
|
content: /sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
|
||
|
- name: /env/SOCK
|
||
|
content: '/var/run/redis-{{ redis_instance }}/sock'
|
||
|
|
||
|
- name: -log/type
|
||
|
content: longrun
|
||
|
- name: -log/notification-fd
|
||
|
content: 3
|
||
|
- name: -log/consumer-for
|
||
|
content: redis-{{ redis_instance }}
|
||
|
- name: -log/env/NAME
|
||
|
content: redis
|
||
|
- name: -log/env/PATH
|
||
|
content: /sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
|
||
|
- name: -log/env/MODE
|
||
|
content: '750'
|
||
|
- name: -log/env/USER
|
||
|
content: s6-log
|
||
|
- name: -log/env/GROUP
|
||
|
content: s6-log
|
||
|
- name: -log/env/DIR
|
||
|
content: '/var/log/redis-{{ redis_instance }}'
|