graphene-os-server-infrastr.../systemd/system/systemd-journald-vacuum.service

10 lines
191 B
Desktop File

[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}}