Starting the Rsync Daemon (rsyncd) on boot

Peter Garrett peter.garrett at optusnet.com.au
Wed Dec 6 08:52:08 UTC 2006


On Wed, 6 Dec 2006 08:32:09 +0000
Clive Menzies <clive at clivemenzies.co.uk> wrote:

> > Would appreciate any light that could be shed on this.  I even did a
> > search on the wiki but pretty much came up empty handed.
> 
> To ensure rsync runs as daemon, edit /etc/inetd.conf:
> # rsync stream tcp nowait root /usr/bin/rsync rsyncd --daemon
> Restart inetd as root:
> # /etc/init.d/inetd restart

$ less /etc/init.d/inetd.conf
/etc/init.d/inetd.conf: No such file or directory

Not there by default, and I think not needed for rsyncd.

As far as i know, Ubuntu does not use inetd or xinetd ....

$ apt-file search /etc/init.d/inetd
netkit-inetd: etc/init.d/inetd

 $ apt-cache policy netkit-inetd
netkit-inetd:
  Installed: (none)
  Candidate: 0.10-10.2ubuntu1
  Version table:
     0.10-10.2ubuntu1 0
        500 http://mirror.optus.net dapper/main Packages
        500 http://mirror.pacific.net.au dapper/main Packages

So, the start up script does not exist, unless you install netkit-inetd ,
which evidently is not present by default, at least on dapper ( 6.06)

Peter




More information about the ubuntu-users mailing list