limit log to 1 day

master
Niklas Yann Wettengel 7 years ago
parent eedbf0f2be
commit f6f27ff950

@ -5,3 +5,10 @@
regexp: '^#?Storage='
line: 'Storage=volatile'
notify: restart systemd-journald
- name: save log for max 1 day
lineinfile:
path: /etc/systemd/journald.conf
regexp: '^#?MaxRetentionSec='
line: 'MaxRetentionSec=1day'
notify: restart systemd-journald

Loading…
Cancel
Save