mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 05:18:07 -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))
|
||||
(start #~(lambda _
|
||||
(sethostname #$name)))
|
||||
(respawn? #f)))))
|
||||
(one-shot? #t)))))
|
||||
|
||||
(define (host-name-service name)
|
||||
"Return a service that sets the host name to @var{name}."
|
||||
|
|
Loading…
Reference in a new issue