From 858c70fcd5221272cc94090b02abf59652086bd8 Mon Sep 17 00:00:00 2001 From: Denis 'GNUtoo' Carikli Date: Tue, 3 Oct 2023 16:04:04 +0200 Subject: [PATCH] Automatic updates: restart basic daemons By default only mcron is restarted. It was verified within the guix-installer-vm that this change worked by looking at the pid of guix-daemon, waiting for an automatic update to happen and looking at the (new) pid of guix-daemon. The mumble-server and nginx daemons were not added to the list because we don't have the audio.experimental.a-lec.org domain setup yet in the Libre en Communs DNS. Signed-off-by: Denis 'GNUtoo' Carikli --- mumble-vm-system.scm.tmpl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mumble-vm-system.scm.tmpl b/mumble-vm-system.scm.tmpl index 095021d..2723e72 100644 --- a/mumble-vm-system.scm.tmpl +++ b/mumble-vm-system.scm.tmpl @@ -275,7 +275,8 @@ https://DOMAIN/ (operating-system-file (string-append "/run/current-system/profile" "/share/mumble-vm/configs/" "mumble-vm-system.scm")) - (schedule "30 * * * * ")))) + (schedule "30 * * * * ") + (services-to-restart (list 'guix-daemon 'mcron 'ssh-daemon))))) (if enable-wireguard? (list (service wireguard-service-type