reconfigure: Reload all shepherd files when upgrading services.
Fixes <https://bugs.gnu.org/36878>. Reported by Robert Vollmert <rob@vllmrt.net>. * guix/scripts/system/reconfigure.scm (upgrade-shepherd-services): Load all service files, rather than just those of services to be started. Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
This commit is contained in:
parent
7c13793dbc
commit
1db6f137d9
|
@ -161,12 +161,7 @@ services as defined by OS."
|
|||
target-services)
|
||||
(map live-service-canonical-name
|
||||
live-services)))
|
||||
(service-files
|
||||
(map shepherd-service-file
|
||||
(filter (lambda (service)
|
||||
(memq (shepherd-service-canonical-name service)
|
||||
to-start))
|
||||
target-services))))
|
||||
(service-files (map shepherd-service-file target-services)))
|
||||
(eval #~(primitive-load #$(upgrade-services-program service-files
|
||||
to-start
|
||||
to-unload
|
||||
|
|
Loading…
Reference in New Issue