Solo para leer y verificar. No puedes copiar, usar, modificar ni redistribuir este código. Aviso completo en la página principal.
tunnel/deploy/journald-volatile.conf
| 1 | # journald drop-in for an ALL tunnel node: /etc/systemd/journald.conf.d/all-tunnel.conf (the design plan, section 5, "Higiene de logs"). |
| 2 | # |
| 3 | # The journal lives in memory only. The node's own log lines carry no address, no name and no label (tunnel/loghygiene_test.go), and this makes sure |
| 4 | # nothing else of the machine (sshd, the kernel, certbot) leaves a persistent trace either: a reboot or a rebuild starts with an empty journal. |
| 5 | # What stays is bounded, so a flood cannot fill the disk or the RAM. |
| 6 | [Journal] |
| 7 | Storage=volatile |
| 8 | RuntimeMaxUse=64M |
| 9 | RuntimeMaxFileSize=8M |
| 10 | MaxRetentionSec=3day |
| 11 | ForwardToSyslog=no |
| 12 | ForwardToWall=no |