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 services: rottlog: Keep fewer "guix-daemon.log" files. 2022-04-09 00:30:40 +02:00
audio.scm
auditd.scm services: Accept <inferior-package>s in lieu of <package>s. 2021-11-30 01:08:55 +01:00
authentication.scm services: Accept <inferior-package>s in lieu of <package>s. 2021-11-30 01:08:55 +01:00
avahi.scm services: Accept <inferior-package>s in lieu of <package>s. 2021-11-30 01:08:55 +01:00
base.scm services: Add more description fields. 2022-05-18 22:29:54 +02:00
certbot.scm services: certbot: Add option to use CSR file. 2021-06-24 18:19:39 -04:00
cgit.scm services: Accept <inferior-package>s in lieu of <package>s. 2021-11-30 01:08:55 +01:00
ci.scm services: laminar: Set LAMINAR_BIND_RPC environment variable. 2022-01-11 11:47:42 +05:30
configuration.scm services: configuration: Fix interpose implementation. 2021-11-01 17:46:49 +03:00
cuirass.scm services: cuirass: Also rotate the web log. 2022-02-17 13:39:02 -05:00
cups.scm Merge remote-tracking branch 'origin/master' into core-updates-frozen 2021-12-05 19:17:41 +01:00
databases.scm services: Add missing 'description' fields. 2022-04-29 18:07:16 +02:00
dbus.scm services: dbus: Increase auth_timeout value to 5 minutes. 2022-02-19 01:37:42 -05:00
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 services: dnsmasq: Add more options. 2022-03-24 12:45:48 +01:00
docker.scm services: Accept <inferior-package>s in lieu of <package>s. 2021-11-30 01:08:55 +01:00
file-sharing.scm services: Accept <inferior-package>s in lieu of <package>s. 2021-11-30 01:08:55 +01:00
games.scm services: wesnothd: Use 'least-authority-wrapper'. 2022-05-01 21:30:36 +02:00
ganeti.scm services: Accept <inferior-package>s in lieu of <package>s. 2021-11-30 01:08:55 +01:00
getmail.scm services: Accept <inferior-package>s in lieu of <package>s. 2021-11-30 01:08:55 +01:00
guix.scm services: nar-herder: Allow specifying the log level. 2022-04-22 15:31:42 +01:00
herd.scm services: herd: Report whether a service is transient. 2022-04-10 00:17:40 +02:00
hurd.scm services: Accept <inferior-package>s in lieu of <package>s. 2021-11-30 01:08:55 +01:00
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 services: Accept <inferior-package>s in lieu of <package>s. 2021-11-30 01:08:55 +01:00
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 services: Accept <inferior-package>s in lieu of <package>s. 2021-11-30 01:08:55 +01:00
pam-mount.scm services: pam-mount: Add support for sddm login manager. 2022-01-17 00:13:46 +01:00
pm.scm services: thermald: Add 'adaptive?' field. 2022-03-20 16:40:22 +01:00
rsync.scm services: rsync: Allow configuring several rsync "modules". 2021-12-21 15:47:03 +01:00
science.scm services: Accept <inferior-package>s in lieu of <package>s. 2021-11-30 01:08:55 +01:00
sddm.scm
security-token.scm services: pcscd: Fix daemon signal handling. 2021-07-03 20:13:42 +02:00
shepherd.scm services: shepherd: Do not unload transient services. 2022-04-10 00:17:40 +02:00
sound.scm services: pulseaudio: Deploy the configuration files to /etc/pulse. 2022-02-26 09:03:01 -05:00
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 services: Accept <inferior-package>s in lieu of <package>s. 2021-11-30 01:08:55 +01:00
sysctl.scm services: Add missing 'description' fields. 2022-04-29 18:07:16 +02:00
telephony.scm services: Replace murmur-service-type with mumble-server-service-type. 2022-04-12 20:32:32 +02:00
version-control.scm services: Accept <inferior-package>s in lieu of <package>s. 2021-11-30 01:08:55 +01:00
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 services: xorg: Remove xf86-input-synaptics from %default-xorg-modules. 2022-03-25 18:42:14 +01:00