mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-08-31 21:41:33 +00:00
Logrotate can be any user.
This commit is contained in:
parent
0711ad9c6c
commit
8d5123b3a2
2 changed files with 2 additions and 1 deletions
|
@ -7,7 +7,6 @@
|
||||||
compress
|
compress
|
||||||
notifempty
|
notifempty
|
||||||
missingok
|
missingok
|
||||||
su nb nb
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/var/log/nginx/*.log {
|
/var/log/nginx/*.log {
|
||||||
|
|
|
@ -85,6 +85,8 @@
|
||||||
- name: Setup logrotate
|
- name: Setup logrotate
|
||||||
become: yes
|
become: yes
|
||||||
copy: src=logrotate.conf dest=/etc/logrotate.d/newsblur mode=0755
|
copy: src=logrotate.conf dest=/etc/logrotate.d/newsblur mode=0755
|
||||||
|
tags:
|
||||||
|
- logrotate
|
||||||
|
|
||||||
- name: Reload gunicorn
|
- name: Reload gunicorn
|
||||||
debug:
|
debug:
|
||||||
|
|
Loading…
Add table
Reference in a new issue