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?'.master
parent
06c8e87224
commit
71fc086ae9
|
@ -706,7 +706,7 @@ to add @var{device} to the kernel's entropy pool. The service will fail if
|
|||
(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}."
|
||||
|
|
Reference in New Issue