[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#27855] [PATCH] gnu: Add rsync service.

From: Oleg Pykhalov
Subject: [bug#27855] [PATCH] gnu: Add rsync service.
Date: Sat, 23 Sep 2017 05:38:48 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

Also want to add to previous message.  Changed rsync port to 873 by
default in test according to /etc/services and rsync service default
port in Guix in this patch.  And cleaned up little bit.

--8<---------------cut here---------------start------------->8---
-(define* (run-rsync-test rsync-os #:optional (rsync-port 581))
+(define* (run-rsync-test rsync-os #:optional (rsync-port 873))

-(define* (%rsync-os #:optional (rsync-port 581))
-  "Return operating system under test."
+(define* %rsync-os
+  ;; Return operating system under test.

-          (service rsync-service-type
-                   (rsync-configuration
-                    (port-number rsync-port))))))
+          (service rsync-service-type))))

    (description "Connect to a running RSYNC server.")
-   (value (run-rsync-test (%rsync-os)))))
--8<---------------cut here---------------end--------------->8---

Attachment: 0001-gnu-Add-rsync-service.patch
Description: Text Data

reply via email to

[Prev in Thread] Current Thread [Next in Thread]