guix/gnu/services
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
..
admin.scm
audio.scm
auditd.scm
authentication.scm
avahi.scm
base.scm services: Add more description fields. 2022-05-18 22:29:54 +02:00
certbot.scm
cgit.scm
ci.scm
configuration.scm
cuirass.scm
cups.scm
databases.scm services: Add missing 'description' fields. 2022-04-29 18:07:16 +02:00
dbus.scm
desktop.scm services: Add missing 'description' fields. 2022-04-29 18:07:16 +02:00
dict.scm services: Make sure Shepherd destructors match constructors. 2022-05-02 17:57:30 +02:00
dns.scm
docker.scm
file-sharing.scm
games.scm services: wesnothd: Use 'least-authority-wrapper'. 2022-05-01 21:30:36 +02:00
ganeti.scm
getmail.scm
guix.scm services: nar-herder: Allow specifying the log level. 2022-04-22 15:31:42 +01:00
herd.scm
hurd.scm
kerberos.scm services: Add missing 'description' fields. 2022-04-29 18:07:16 +02:00
linux.scm
lirc.scm services: Add missing 'description' fields. 2022-04-29 18:07:16 +02:00
mail.scm services: Add missing 'description' fields. 2022-04-29 18:07:16 +02:00
mcron.scm
messaging.scm services: bitlbee: Run as user "bitlbee". 2022-05-16 15:48:08 +02:00
monitoring.scm services: Add missing 'description' fields. 2022-04-29 18:07:16 +02:00
networking.scm services: Add log rotation to most networking services. 2022-05-24 17:19:03 +02:00
nfs.scm services: pipefs: Correctly handle lack of extensions. 2022-05-03 18:02:27 +02:00
nix.scm
pam-mount.scm
pm.scm
rsync.scm
science.scm
sddm.scm
security-token.scm
shepherd.scm
sound.scm
spice.scm services: Add missing 'description' fields. 2022-04-29 18:07:16 +02:00
ssh.scm services: openssh: Listen on both IPv4 and IPv6. 2022-05-22 21:56:40 +02:00
syncthing.scm
sysctl.scm services: Add missing 'description' fields. 2022-04-29 18:07:16 +02:00
telephony.scm
version-control.scm
virtualization.scm services: Add missing 'description' fields. 2022-04-29 18:07:16 +02:00
vpn.scm services: Add missing 'description' fields. 2022-04-29 18:07:16 +02:00
web.scm services: Add missing 'description' fields. 2022-04-29 18:07:16 +02:00
xorg.scm