aboutsummaryrefslogtreecommitdiff
path: root/gnu/services
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/services')
-rw-r--r--gnu/services/base.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/services/base.scm b/gnu/services/base.scm
index 4b5b103cc3..feca7ecce9 100644
--- a/gnu/services/base.scm
+++ b/gnu/services/base.scm
@@ -801,7 +801,8 @@ host names."
(documentation "Initialize the machine's host name.")
(provision '(host-name))
(start #~(lambda _
- (sethostname #$name)))
+ (sethostname #$name)
+ #$name))
(one-shot? #t)))
(description "Initialize the machine's host name.")))