Recreate Matrix rundirs
This commit is contained in:
parent
a0a6842864
commit
e98cf18684
2 changed files with 10 additions and 0 deletions
|
@ -12,3 +12,11 @@
|
|||
- '{{ matrix__lib_dir }}'
|
||||
- '{{ matrix__log_dir }}'
|
||||
- '{{ matrix__run_dir }}'
|
||||
|
||||
- name: Recreate Matrix rundirs
|
||||
template:
|
||||
src: '../templates/tmpfiles.d/matrix.conf'
|
||||
dest: '/etc/tmpfiles.d/matrix.conf'
|
||||
mode: 'u=rw,g=r,o=r'
|
||||
owner: root
|
||||
group: root
|
||||
|
|
2
roles/matrix/templates/tmpfiles.d/matrix.conf
Normal file
2
roles/matrix/templates/tmpfiles.d/matrix.conf
Normal file
|
@ -0,0 +1,2 @@
|
|||
d {{ matrix__run_dir }} 0775 root root
|
||||
d {{ matrix__synapse__run_dir }} 0775 matrix-synapse matrix-synapse
|
Reference in a new issue