mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-11 21:59:08 -05:00
services: udev: Make non-respawnable.
* gnu/services/base.scm (udev-service): Add 'respawn?' field.
This commit is contained in:
parent
bebc8681c2
commit
66d5d8c072
1 changed files with 6 additions and 1 deletions
|
@ -578,7 +578,12 @@ (define (wait-for-udevd)
|
|||
(system* (string-append #$udev "/bin/udevadm")
|
||||
"settle")
|
||||
pid)))))
|
||||
(stop #~(make-kill-destructor))))))
|
||||
(stop #~(make-kill-destructor))
|
||||
|
||||
;; When halting the system, 'udev' is actually killed by
|
||||
;; 'user-processes', i.e., before its own 'stop' method was
|
||||
;; called. Thus, make sure it is not respawned.
|
||||
(respawn? #f)))))
|
||||
|
||||
(define (device-mapping-service target command)
|
||||
"Return a service that maps device @var{target}, a string such as
|
||||
|
|
Loading…
Reference in a new issue