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 <GNUtoo@cyberdimension.org>
This commit is contained in:
Denis 'GNUtoo' Carikli 2023-10-03 13:15:36 +02:00
parent 97fa63d96a
commit cd0e98f67e
Signed by: GNUtoo
GPG Key ID: 5F5DFCC14177E263
1 changed files with 2 additions and 1 deletions

View File

@ -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