mirror of
https://github.com/GrapheneOS/infrastructure.git
synced 2025-08-01 19:16:07 -04:00
switch back to MaxRetentionSec now that it's fixed
The fix for this causing excessive log rotation was backported to systemd 256.5.
This commit is contained in:
parent
4dc70b8df7
commit
9638832f82
3 changed files with 1 additions and 18 deletions
|
@ -1,9 +0,0 @@
|
|||
[Unit]
|
||||
Description=Vacuum journald logs
|
||||
After=systemd-journald.service
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
User=root
|
||||
Group=root
|
||||
ExecStart=/usr/bin/journalctl --vacuum-time={{journald_max_retention_sec}}
|
|
@ -1,8 +0,0 @@
|
|||
[Unit]
|
||||
Description=Run systemd-journald-vacuum hourly
|
||||
|
||||
[Timer]
|
||||
OnCalendar=hourly
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
Loading…
Add table
Add a link
Reference in a new issue