Merge "ensure /var/run/redis is present upon reboot"

This commit is contained in:
Zuul 2019-04-30 11:32:30 +00:00 committed by Gerrit Code Review
commit cf553f90fe
2 changed files with 10 additions and 0 deletions

View File

@ -222,6 +222,11 @@ outputs:
- { 'path': /var/log/containers/redis, 'setype': svirt_sandbox_file_t }
- { 'path': /var/run/redis, 'setype': svirt_sandbox_file_t }
- { 'path': /var/log/redis, 'setype': svirt_sandbox_file_t }
- name: ensure /var/run/redis is present upon reboot
copy:
dest: /etc/tmpfiles.d/var-run-redis.conf
content: |
d /var/run/redis 0755 root root - -
- name: redis logs readme
copy:
dest: /var/log/redis/readme.txt

View File

@ -294,6 +294,11 @@ outputs:
- { 'path': /var/log/containers/redis, 'setype': svirt_sandbox_file_t }
- { 'path': /var/run/redis, 'setype': svirt_sandbox_file_t }
- { 'path': /var/log/redis, 'setype': svirt_sandbox_file_t }
- name: ensure /var/run/redis is present upon reboot
copy:
dest: /etc/tmpfiles.d/var-run-redis.conf
content: |
d /var/run/redis 0755 root root - -
- name: redis logs readme
copy:
dest: /var/log/redis/readme.txt