We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4b53ea5 commit 980cd60Copy full SHA for 980cd60
tasks/perun_journald.yml
@@ -19,11 +19,16 @@
19
copy:
20
dest: /etc/systemd/journald.conf.d/perun.conf
21
content: |
22
+ # see "man 5 journald.conf" for documentation of these directives
23
[Journal]
24
# use max 30% of disk
25
SystemMaxUse={{ (log_disk.size_total * 0.3 / 1000000) | int }}M
26
# keep free at least 20% of disk
27
SystemKeepFree={{ (log_disk.size_total * 0.2 / 1000000) | int }}M
28
+ # controls how large individual journal files in /var/log/journal may grow at most
29
+ SystemMaxFileSize=512M
30
+ # controls how many individual journal files to keep at most
31
+ SystemMaxFiles=200
32
register: perunjourconf
33
34
- name: "reload journald configuration"
0 commit comments