[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
10/10: services: Unmount user file systems after process termination.
From: |
Ludovic Courtès |
Subject: |
10/10: services: Unmount user file systems after process termination. |
Date: |
Wed, 14 Oct 2015 19:46:10 +0000 |
civodul pushed a commit to branch master
in repository guix.
commit 5f44ee4fa02699effed459266ff00a958bfd788e
Author: Ludovic Courtès <address@hidden>
Date: Wed Oct 14 21:16:55 2015 +0200
services: Unmount user file systems after process termination.
* gnu/services/base.scm (user-unmount-service-type): Change label and
dmd name to 'user-file-systems'.
(user-processes-service-type)[requirement]: Add 'user-file-systems'.
---
gnu/services/base.scm | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/gnu/services/base.scm b/gnu/services/base.scm
index 84869ae..336cc4d 100644
--- a/gnu/services/base.scm
+++ b/gnu/services/base.scm
@@ -207,11 +207,11 @@ object."
(define user-unmount-service-type
(dmd-service-type
- 'user-unmount
+ 'user-file-systems
(lambda (known-mount-points)
(dmd-service
(documentation "Unmount manually-mounted file systems.")
- (provision '(user-unmount))
+ (provision '(user-file-systems))
(start #~(const #t))
(stop #~(lambda args
(define (known? mount-point)
@@ -251,9 +251,9 @@ in KNOWN-MOUNT-POINTS when it is stopped."
(dmd-service
(documentation "When stopped, terminate all user processes.")
(provision '(user-processes))
- (requirement (cons 'root-file-system
- (map file-system->dmd-service-name
- requirements)))
+ (requirement (cons* 'root-file-system 'user-file-systems
+ (map file-system->dmd-service-name
+ requirements)))
(start #~(const #t))
(stop #~(lambda _
(define (kill-except omit signal)
- branch master updated (d9c44e9 -> 5f44ee4), Ludovic Courtès, 2015/10/14
- 08/10: services: Add 'dmd-service-back-edges'., Ludovic Courtès, 2015/10/14
- 06/10: guix system: Add 'extension-graph' command., Ludovic Courtès, 2015/10/14
- 09/10: guix system: Add 'dmd-graph' command., Ludovic Courtès, 2015/10/14
- 05/10: graph: 'export-graph' takes a #:reverse-edges? parameter., Ludovic Courtès, 2015/10/14
- 07/10: services: Prefix <dmd-service> accessors with 'dmd-'., Ludovic Courtès, 2015/10/14
- 10/10: services: Unmount user file systems after process termination.,
Ludovic Courtès <=
- 01/10: hydra: Add Graphviz and help2man as inputs to the Guix job set., Ludovic Courtès, 2015/10/15
- 02/10: build-system/gnu: dist-package: Use 'autoconf-wrapper'., Ludovic Courtès, 2015/10/15
- 04/10: services: 'dmd-service-type' takes a service name., Ludovic Courtès, 2015/10/15
- 03/10: services: Export 'service-back-edges'., Ludovic Courtès, 2015/10/15