fix logrotate
This commit is contained in:
parent
3a52a1156f
commit
8fd7a20a7c
1 changed files with 7 additions and 0 deletions
|
|
@ -74,3 +74,10 @@
|
|||
mode: 0644
|
||||
notify:
|
||||
- restart php-fpm
|
||||
|
||||
- name: patch logrotate to fix permissions
|
||||
lineinfile:
|
||||
path: "/etc/logrotate.d/php{{ php_version }}-fpm"
|
||||
regexp: '^create 0640 root adm'
|
||||
insertafter: '/var/log/php7.3-fpm.log {'
|
||||
line: "create 0640 root adm"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue