summaryrefslogtreecommitdiff
path: root/gnu/services
diff options
context:
space:
mode:
author宋文武 <iyzsong@member.fsf.org>2018-06-08 23:31:31 +0800
committer宋文武 <iyzsong@member.fsf.org>2018-06-08 23:32:49 +0800
commit0d4c2d35aff1bb28e2c105b9d7efc8c2a12d4601 (patch)
tree685997c61565e4099112dc846638f3fc9cd8aabe /gnu/services
parentc061eb587cbb8590a5cd4793b56a01560af747a8 (diff)
services: dnsmasq-service-type: Add default configuration and description.
* gnu/services/dns.scm (dnsmasq-service-type) [default-value, description]: New fields.
Diffstat (limited to 'gnu/services')
-rw-r--r--gnu/services/dns.scm4
1 files changed, 3 insertions, 1 deletions
diff --git a/gnu/services/dns.scm b/gnu/services/dns.scm
index 1b39d0f508..2c57a36b84 100644
--- a/gnu/services/dns.scm
+++ b/gnu/services/dns.scm
@@ -667,4 +667,6 @@
(name 'dnsmasq)
(extensions
(list (service-extension shepherd-root-service-type
- (compose list dnsmasq-shepherd-service))))))
+ (compose list dnsmasq-shepherd-service))))
+ (default-value (dnsmasq-configuration))
+ (description "Run the dnsmasq DNS server.")))