From cd0e98f67eea9257771e6a8ef189671e8ef64b18 Mon Sep 17 00:00:00 2001 From: Denis 'GNUtoo' Carikli Date: Tue, 3 Oct 2023 13:15:36 +0200 Subject: [PATCH] Automatic updates: restart more daemons By default only mcron is restarted. It was verified that it 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. Signed-off-by: Denis 'GNUtoo' Carikli --- guix-installer-vm-system.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/guix-installer-vm-system.scm b/guix-installer-vm-system.scm index 71bed52..1528d6c 100644 --- a/guix-installer-vm-system.scm +++ b/guix-installer-vm-system.scm @@ -158,7 +158,8 @@ needed for unattended upgrades to work.") (string-append "/run/current-system/profile" "/share/guix-installer-vm/configs/" "guix-installer-vm-system.scm")) - (schedule "0 * * * * ")))) + (schedule "0 * * * * ") + (services-to-restart (list 'guix-daemon 'mcron 'ssh-daemon))))) (modify-services %base-services (guix-service-type config => (guix-configuration