aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorykonai <mail@ykonai.net>2022-05-23 21:39:08 +0200
committerLudovic Courtès <ludo@gnu.org>2022-05-24 17:19:03 +0200
commit29c931780897b78c8d1499b648692a84a7b5063d (patch)
tree4e9cb980b09e54b6f7594a36e632bfad14ed2024 /scripts
parent3e59d41df031a86e48f6b8ee1ac7a72d3c183f69 (diff)
downloadguix-29c931780897b78c8d1499b648692a84a7b5063d.tar
guix-29c931780897b78c8d1499b648692a84a7b5063d.tar.gz
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>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions