summary refs log tree commit diff
path: root/gnu/services/vnc.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2023-05-20 15:41:07 +0200
committerLudovic Courtès <ludo@gnu.org>2023-05-21 01:04:39 +0200
commit896a51258aa71a483d8f6be29169098de5967baa (patch)
treeb9a8af02865af88b14648b426833d7257cde7f67 /gnu/services/vnc.scm
parentd0168e1895f95eb69f47f799706167afe6976fa6 (diff)
downloadguix-896a51258aa71a483d8f6be29169098de5967baa.tar.gz
services: Transient inetd services inherit requirements.
That way, per-connection transient services such as 'sshd-123' inherit
dependencies of their "parent" ('sshd' in this example), which is more
consistent than not depending on anything.

* gnu/services/dict.scm (dicod-shepherd-service): Pass #:requirements to
'make-inetd-constructor'.
* gnu/services/messaging.scm (bitlbee-shepherd-service): Likewise.
* gnu/services/ssh.scm (openssh-shepherd-service): Likewise.
* gnu/services/vnc.scm (xvnc-shepherd-service): Likewise.
Diffstat (limited to 'gnu/services/vnc.scm')
-rw-r--r--gnu/services/vnc.scm1
1 files changed, 1 insertions, 0 deletions
diff --git a/gnu/services/vnc.scm b/gnu/services/vnc.scm
index d57cf51af2..f90bd7258f 100644
--- a/gnu/services/vnc.scm
+++ b/gnu/services/vnc.scm
@@ -228,6 +228,7 @@ CONFIG, a <xvnc-configuration> object."
                        ,@(if ipv6-socket
                              (list (endpoint ipv6-socket))
                              '()))
+                     #:requirements '#$requirement
                      #:user "xvnc"
                      #:group "xvnc"))
                 #~(make-forkexec-constructor