mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-11 13:49:23 -05:00
services: host-name: Make service one-shot.
* gnu/services/base.scm (host-name-service-type): Remove 'respawn?' keyword from shepherd-service-type, add 'one-shot?'.
This commit is contained in:
parent
06c8e87224
commit
71fc086ae9
1 changed files with 1 additions and 1 deletions
|
@ -706,7 +706,7 @@ (define host-name-service-type
|
||||||
(provision '(host-name))
|
(provision '(host-name))
|
||||||
(start #~(lambda _
|
(start #~(lambda _
|
||||||
(sethostname #$name)))
|
(sethostname #$name)))
|
||||||
(respawn? #f)))))
|
(one-shot? #t)))))
|
||||||
|
|
||||||
(define (host-name-service name)
|
(define (host-name-service name)
|
||||||
"Return a service that sets the host name to @var{name}."
|
"Return a service that sets the host name to @var{name}."
|
||||||
|
|
Loading…
Reference in a new issue