Skip to content

Commit 8ed43d5

Browse files
committed
Fix logrotate issue
1 parent a1b017e commit 8ed43d5

1 file changed

Lines changed: 10 additions & 9 deletions

File tree

install/logrotate_mycodo

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
/var/log/mycodo/*.log {
2-
hourly
3-
size 10M
4-
create 644 mycodo mycodo
5-
rotate 5
6-
delaycompress
7-
compress
8-
notifempty
9-
missingok
10-
}
2+
hourly
3+
size 10M
4+
create 644 mycodo mycodo
5+
rotate 5
6+
delaycompress
7+
compress
8+
notifempty
9+
missingok
10+
copytruncate
11+
}

0 commit comments

Comments
 (0)