]> git.ipfire.org Git - thirdparty/rsync.git/commitdiff
docs: mention systemd rsync daemon units
authorZen Dodd <mail@steadytao.com>
Sat, 6 Jun 2026 02:44:00 +0000 (12:44 +1000)
committerAndrew Tridgell <andrew@tridgell.net>
Sat, 6 Jun 2026 04:17:41 +0000 (14:17 +1000)
rsyncd.conf.5.md

index 816687e6cb9a7ced562d29bcdb64c3b6004c34cd..8cd810f60f6bbe6d586355682c37d817257101ef 100644 (file)
@@ -56,6 +56,13 @@ You can launch it either via inetd, as a stand-alone daemon, or from an rsync
 client via a remote shell.  If run as a stand-alone daemon then just run the
 command "`rsync --daemon`" from a suitable startup script.
 
+Systems using systemd can use the example unit files in the source tree's
+`packaging/systemd` directory.  The `rsync.service` file runs a stand-alone
+daemon using `rsync --daemon --no-detach`, while `rsync.socket` and
+`rsync@.service` show a socket-activated setup for incoming connections.  These
+files may need local adjustment to match your installed rsync path, packaging
+layout, and module policy.
+
 When run via inetd you should add a line like this to /etc/services:
 
 >     rsync           873/tcp