summaryrefslogtreecommitdiff
path: root/gnu/services/base.scm
diff options
context:
space:
mode:
authorMarius Bakke <mbakke@fastmail.com>2017-10-31 21:38:21 +0100
committerMarius Bakke <mbakke@fastmail.com>2017-12-29 14:06:26 +0100
commitdb8ed7cee81cbd60b0f8d89a7bee377b369fdac1 (patch)
treea3064b58b63e0403abbea09589e6d72dd5c2547f /gnu/services/base.scm
parent5859fd6c9ec14152cc2f342480ff45e29607eebc (diff)
services: networking: Add a dependency override mechanism to <static-networking>.
* gnu/services/networking.scm (<static-networking>)[requirement]: New field. (static-networking-shepherd-service): Don't override requirement for loopback. (static-networking-service): Expose 'requirement' parameter. Default to UDEV. * gnu/services/base.scm (%base-services): Add (requirement '()) for loopback service. * doc/guix.texi (Networking Services): Document it.
Diffstat (limited to 'gnu/services/base.scm')
-rw-r--r--gnu/services/base.scm1
1 files changed, 1 insertions, 0 deletions
diff --git a/gnu/services/base.scm b/gnu/services/base.scm
index 7fc8f6aa7e..f4681c804d 100644
--- a/gnu/services/base.scm
+++ b/gnu/services/base.scm
@@ -1986,6 +1986,7 @@ This service is not part of @var{%base-services}."
(service static-networking-service-type
(list (static-networking (interface "lo")
(ip "127.0.0.1")
+ (requirement '())
(provision '(loopback)))))
(syslog-service)
(service urandom-seed-service-type)