Skip to content
Snippets Groups Projects
Commit d8f1aed6 authored by jurgenhaas's avatar jurgenhaas
Browse files

Fix logrotate script

parent 5bd8505a
No related branches found
No related tags found
No related merge requests found
......@@ -53,6 +53,14 @@
- "Include NetData to Boot-List"
- "Start NetData"
- name: "Install logrotate script"
template:
src=etc_logrotate_d_netdata
dest=/etc/logrotate.d/netdata
owner=root
group=root
mode=644
- name: "Configure Registry"
ini_file:
dest='/etc/netdata/netdata.conf'
......
/var/log/netdata/*.log {
daily
missingok
rotate 14
compress
delaycompress
notifempty
sharedscripts
create 640 netdata netdata
postrotate
/usr/sbin/service netdata restart >/dev/null
endscript
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment