Starting the Rsync Daemon (rsyncd) on boot

Clive Menzies clive at clivemenzies.co.uk
Wed Dec 6 10:25:01 UTC 2006


On (06/12/06 19:52), Peter Garrett wrote:
> On Wed, 6 Dec 2006 08:32:09 +0000
> Clive Menzies <clive at clivemenzies.co.uk> wrote:
> > 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)

Ah! Apologies. I checked on a debian server I run.

Regards

Clive

-- 
www.clivemenzies.co.uk ...
...strategies for business






More information about the ubuntu-users mailing list