summary refs log tree commit diff
path: root/gnu/services
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2023-11-26 23:05:04 +0100
committerLudovic Courtès <ludo@gnu.org>2023-11-26 23:34:48 +0100
commitda2dc98185526796fbfb4bc63caf9d70aead9037 (patch)
treee24013ba3ed6af6aa89632d12ad8a47aa91cffd1 /gnu/services
parentc936853a646fbb2b55e20a8374b9f93b8838f5a3 (diff)
downloadguix-da2dc98185526796fbfb4bc63caf9d70aead9037.tar.gz
services: rsync: Provide a prettier Shepherd inetd service name.
Previously, a default name would be used for transient inetd services,
leading to names such as #{5rjnskb6011jgmfmpgp63jp9mh9nkl20-rsync-3274}#.

* gnu/services/rsync.scm (rsync-shepherd-service): Pass #:service-name-stem.

Change-Id: I4d0a4a01e122c6eeaa85f104b083cf7e8709eac3
Diffstat (limited to 'gnu/services')
-rw-r--r--gnu/services/rsync.scm1
1 files changed, 1 insertions, 0 deletions
diff --git a/gnu/services/rsync.scm b/gnu/services/rsync.scm
index 42e4d0247e..e85dd50934 100644
--- a/gnu/services/rsync.scm
+++ b/gnu/services/rsync.scm
@@ -291,6 +291,7 @@ please use 'modules' instead~%")))
                                        (make-socket-address AF_INET6 IN6ADDR_ANY
                                                             #$port-number)))
                                      '()))
+                           #:service-name-stem "rsync"
                            #:user #$user
                            #:group #$group)
                           (make-forkexec-constructor #$rsync-command