[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
09/19: services: herd: 'load-services/safe' is synonymous with 'load-ser
From: |
guix-commits |
Subject: |
09/19: services: herd: 'load-services/safe' is synonymous with 'load-services'. |
Date: |
Fri, 21 Apr 2023 11:16:09 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit 95731b4ef1991f5b85aa9ec9d4fb97c006bec65d
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Fri Apr 21 00:11:52 2023 +0200
services: herd: 'load-services/safe' is synonymous with 'load-services'.
This is a followup to 547965aa27b6a09cadf42130b7ec7db3f1aee61f.
* gnu/services/herd.scm (load-services/safe): Make an alias for
'load-services'.
---
gnu/services/herd.scm | 12 ++++--------
1 file changed, 4 insertions(+), 8 deletions(-)
diff --git a/gnu/services/herd.scm b/gnu/services/herd.scm
index e489ce2b9a..48594015fc 100644
--- a/gnu/services/herd.scm
+++ b/gnu/services/herd.scm
@@ -282,14 +282,10 @@ returns a shepherd <service> object."
`(primitive-load ,file))
files))))
-(define (load-services/safe files)
- "This is like 'load-services', but make sure only the subset of FILES that
-can be safely reloaded is actually reloaded."
- (eval-there `(let ((services (map primitive-load ',files)))
- ;; Since version 0.5.0 of the Shepherd, registering a service
- ;; that has the same name as an already-registered service
- ;; makes it a "replacement" of that previous service.
- (apply register-services services))))
+(define load-services/safe
+ ;; Deprecated. It used to behave differently before service replacements
+ ;; were a thing.
+ load-services)
(define* (start-service name #:optional (arguments '()))
(invoke-action name 'start arguments
- branch master updated (0830059b9c -> 13ebf5e36c), guix-commits, 2023/04/21
- 01/19: services: postgresql: Add the 'postgresql' Shepherd service name., guix-commits, 2023/04/21
- 10/19: tests: Use the client 'start-service' procedure., guix-commits, 2023/04/21
- 06/19: services: knot: Add 'configuration' action., guix-commits, 2023/04/21
- 07/19: services: postgresql: Add default package., guix-commits, 2023/04/21
- 09/19: services: herd: 'load-services/safe' is synonymous with 'load-services'.,
guix-commits <=
- 11/19: tests: Fork and exec a new Guile for the marionette REPL., guix-commits, 2023/04/21
- 14/19: packages: 'package-direct-sources' correctly handles non-origin sources., guix-commits, 2023/04/21
- 15/19: gnu: kicad: Update to 7.0.2., guix-commits, 2023/04/21
- 16/19: gnu: Add emacs-gerbil-mode., guix-commits, 2023/04/21
- 02/19: services: postgresql: Add 'configuration' action., guix-commits, 2023/04/21
- 03/19: services: mysql: Add 'configuration' action., guix-commits, 2023/04/21
- 04/19: services: redis: Add 'configuration' action., guix-commits, 2023/04/21
- 08/19: services: nscd: Depend on syslogd., guix-commits, 2023/04/21
- 12/19: tests: Fix checks for expected failures., guix-commits, 2023/04/21
- 17/19: gnu: guile-dsv: Update to 0.5.2., guix-commits, 2023/04/21