File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 2222 # see "man 5 journald.conf" for documentation of these directives
2323 [Journal]
2424 # use max 30% of disk
25- SystemMaxUse={{ (log_disk.size_total * 0.3 / 1000000 ) | int }}M
25+ SystemMaxUse={{ (log_disk.size_total * 0.3 / 1073741824 ) | int }}G
2626 # keep free at least 20% of disk
27- SystemKeepFree={{ (log_disk.size_total * 0.2 / 1000000 ) | int }}M
27+ SystemKeepFree={{ (log_disk.size_total * 0.2 / 1073741824 ) | int }}G
2828 # controls how large individual journal files in /var/log/journal may grow at most
29- SystemMaxFileSize=512M
29+ SystemMaxFileSize=1G
3030 # controls how many individual journal files to keep at most
31- SystemMaxFiles=200
31+ SystemMaxFiles={{ (log_disk.size_total * 0.3 / 1073741824) | int }}
3232 register : perunjourconf
3333
3434- name : " reload journald configuration"
You can’t perform that action at this time.
0 commit comments