[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/13: services: virtual-build-machine: Add periodic GC job.
From: |
guix-commits |
Subject: |
04/13: services: virtual-build-machine: Add periodic GC job. |
Date: |
Sun, 18 Feb 2024 10:19:16 -0500 (EST) |
civodul pushed a commit to branch master
in repository guix.
commit cd0dc17e43d4020d4e56afa32b6cc05072fe2e0e
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Sun Feb 18 12:16:23 2024 +0100
services: virtual-build-machine: Add periodic GC job.
* gnu/services/virtualization.scm (%virtual-build-machine-operating-system):
Add ‘periodic-gc’ service.
Change-Id: Id5bde1ee3f8e1e549e231375e776d3201ec9e0b5
---
gnu/services/virtualization.scm | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/gnu/services/virtualization.scm b/gnu/services/virtualization.scm
index 1944268cf8..ea5edfcec3 100644
--- a/gnu/services/virtualization.scm
+++ b/gnu/services/virtualization.scm
@@ -36,6 +36,7 @@
#:use-module (gnu services base)
#:use-module (gnu services configuration)
#:use-module (gnu services dbus)
+ #:use-module (gnu services mcron)
#:use-module (gnu services shepherd)
#:use-module (gnu services ssh)
#:use-module (gnu services)
@@ -1209,6 +1210,11 @@ authpriv.*;auth.info /var/log/secure
(openssh-configuration
(openssh openssh-sans-x)))
+ ;; Run GC once per hour.
+ (simple-service 'perdiodic-gc mcron-service-type
+ (list #~(job "12 * * * *"
+ "guix gc -F 2G")))
+
(modify-services %base-services
;; By default, the secret service introduces a
;; pre-initialized /etc/guix/acl file in the VM. Thus,
- branch master updated (f8f0a5954a -> fdbf4192f5), guix-commits, 2024/02/18
- 02/13: services: virtual-build-machine: Do not offload when service is stopped., guix-commits, 2024/02/18
- 01/13: services: block-facebook-hosts: Use proper unroutable addresses., guix-commits, 2024/02/18
- 04/13: services: virtual-build-machine: Add periodic GC job.,
guix-commits <=
- 03/13: services: virtual-build-machine: Use a non-volatile root file system., guix-commits, 2024/02/18
- 05/13: services: virtual-build-machine: Add ‘configuration’ action., guix-commits, 2024/02/18
- 08/13: gnu: Add emacs-fdroid., guix-commits, 2024/02/18
- 13/13: gnu: bemenu: Install man pages, guix-commits, 2024/02/18
- 10/13: gnu: Add go-github-com-cli-safeexec., guix-commits, 2024/02/18
- 12/13: gnu: Add git-sizer., guix-commits, 2024/02/18
- 06/13: gnu: Add snapper., guix-commits, 2024/02/18
- 07/13: gnu: Add restartd., guix-commits, 2024/02/18
- 09/13: gnu: Add libdisplay-info., guix-commits, 2024/02/18
- 11/13: gnu: Add go-go-uber-org-goleak., guix-commits, 2024/02/18