guix/gnu
ykonai 29c9317808
services: Add log rotation to most networking services.
This adds a simple log rotation extension to every networking service that
specifies a #:log-file in its Shepherd service, which should prevent some logs
from accumulating indefinitely.

* gnu/services/networking.scm (%ntp-log-rotation): New variable.
(ntp-service-type): Extend 'rottlog-service-type'.
(openntpd-shepherd-service): Change #:log-file argument to "/var/log/ntpd.log".
(openntpd-service-type): Extend 'rottlog-service-type'.
(%tor-log-rotation): New variable.
(tor-service-type): Extend 'rottlog-service-type'.
(%connman-log-rotation): New variable.
(connman-service-type): Extend 'rottlog-service-type'.
(%hostapd-log-rotation): New variable.
(hostapd-service-type): Extend 'rottlog-service-type'.
(%pagekite-log-rotation): New variable.
(pagekite-service-type): Extend 'rottlog-service-type'.
(%yggdrasil-log-rotation): New variable.
(yggdrasil-service-type): Extend 'rottlog-service-type'.
(%ipfs-log-rotation): New variable.
(ipfs-service-type): Extend 'rottlog-service-type'.
(%keepalived-log-rotation): New variable.
(keepalived-service-type): Extend 'rottlog-service-type'.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-24 17:19:03 +02:00
..
bootloader
build image: Add bootable flag support. 2022-05-23 09:17:12 +02:00
home
installer
machine
packages gnu: sssd: Update to 2.7.0. 2022-05-24 17:19:02 +02:00
platforms platforms: x86: Add a missing export. 2022-05-22 15:18:28 +02:00
services services: Add log rotation to most networking services. 2022-05-24 17:19:03 +02:00
system image: Add bootable flag support. 2022-05-23 09:17:12 +02:00
tests services: openssh: Listen on both IPv4 and IPv6. 2022-05-22 21:56:40 +02:00
artwork.scm
bootloader.scm
ci.scm ci: Do not rely on hardcoded cross-targets lists. 2022-05-22 15:15:33 +02:00
home.scm
image.scm
installer.scm
local.mk gnu: sssd: Update to 2.7.0. 2022-05-24 17:19:02 +02:00
machine.scm
packages.scm
platform.scm platform: Add glibc-dynamic-linker field. 2022-05-22 15:15:33 +02:00
services.scm
system.scm
tests.scm