From: Zen Dodd Date: Sat, 6 Jun 2026 02:44:00 +0000 (+1000) Subject: docs: mention systemd rsync daemon units X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0d31a20845d57a5ad705f2e68e31d495d0934365;p=thirdparty%2Frsync.git docs: mention systemd rsync daemon units --- diff --git a/rsyncd.conf.5.md b/rsyncd.conf.5.md index 816687e6..8cd810f6 100644 --- a/rsyncd.conf.5.md +++ b/rsyncd.conf.5.md @@ -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