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:
parent
97fa63d96a
commit
cd0e98f67e
|
@ -158,7 +158,8 @@ needed for unattended upgrades to work.")
|
||||||
(string-append "/run/current-system/profile"
|
(string-append "/run/current-system/profile"
|
||||||
"/share/guix-installer-vm/configs/"
|
"/share/guix-installer-vm/configs/"
|
||||||
"guix-installer-vm-system.scm"))
|
"guix-installer-vm-system.scm"))
|
||||||
(schedule "0 * * * * "))))
|
(schedule "0 * * * * ")
|
||||||
|
(services-to-restart (list 'guix-daemon 'mcron 'ssh-daemon)))))
|
||||||
(modify-services
|
(modify-services
|
||||||
%base-services
|
%base-services
|
||||||
(guix-service-type config => (guix-configuration
|
(guix-service-type config => (guix-configuration
|
||||||
|
|
Loading…
Reference in New Issue