Merge "ensure /var/run/redis is present upon reboot" into stable/stein

This commit is contained in:
Zuul 2019-05-02 21:40:38 +00:00 committed by Gerrit Code Review
commit db6bc23112
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