Logrotate can be any user.

This commit is contained in:
Samuel Clay 2021-08-31 11:06:16 -04:00
parent 0711ad9c6c
commit 8d5123b3a2
2 changed files with 2 additions and 1 deletions

View file

@ -7,7 +7,6 @@
compress
notifempty
missingok
su nb nb
}
/var/log/nginx/*.log {

View file

@ -85,6 +85,8 @@
- name: Setup logrotate
become: yes
copy: src=logrotate.conf dest=/etc/logrotate.d/newsblur mode=0755
tags:
- logrotate
- name: Reload gunicorn
debug: