Hello, I found debian 11 doesn't need to change /etc/default/rsync for rsync daemon starting. But ubuntu 22.04 should have to edit that. Where can I check the startup mech for these two systems?
Thanks (btw, gmail does use top-posting by default, I don't know where to change it.) On Fri, Mar 10, 2023 at 2:10 AM Greg Wooledge <g...@wooledge.org> wrote: > On Thu, Mar 09, 2023 at 05:54:40PM +0100, Nicolas George wrote: > > Michel Verdier (12023-03-09): > > > systemd launch init.d > > > > No. Check. > > For the record: > > unicorn:~$ systemctl cat rsync.service > # /lib/systemd/system/rsync.service > [Unit] > Description=fast remote file copy program daemon > ConditionPathExists=/etc/rsyncd.conf > After=network.target > Documentation=man:rsync(1) man:rsyncd.conf(5) > > [Service] > ExecStart=/usr/bin/rsync --daemon --no-detach > RestartSec=1 > ... > > > (It does not call the init.d script. It runs the daemon directly.) > >