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
This commit is contained in:
Ludovic Courtès 2023-11-26 23:05:04 +01:00
parent c936853a64
commit da2dc98185
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -291,6 +291,7 @@ (define (module->file-system-mapping module)
(make-socket-address AF_INET6 IN6ADDR_ANY
#$port-number)))
'()))
#:service-name-stem "rsync"
#:user #$user
#:group #$group)
(make-forkexec-constructor #$rsync-command