How to start rsync daemon at boot
Daniel Carrera
daniel.carrera at zmsl.com
Mon Jun 19 09:29:40 UTC 2006
Hi Jame,
Write a script with whatever commands are needed to start the rsync
daemon (probably a 1-line script). Save the script in:
/etc/init.d/rsync
Then make a symlink from /etc/rc*.d to rsync:
sudo ln -s /etc/init.d/rsync /etc/rc2.d/S99rsync
sudo ln -s /etc/init.d/rsync /etc/rc3.d/S99rsync
sudo ln -s /etc/init.d/rsync /etc/rc4.d/S99rsync
sudo ln -s /etc/init.d/rsync /etc/rc5.d/S99rsync
Cheers,
Daniel.
Jame Dobbs wrote:
> I have an i386 installed of Ubuntu 6.06 and I want to have an rsync daemon
> start at boot time but despite much Googling, reading of man pages and
> general seeking stuff out I cannot find a way to do this.
> Only thing of use I found was something telling me to add a line to inetd
> or xinetd to run it, but as neither of these files exist on my system I
> don't think that's a viable option.
> Can someone please help me out here.
>
> Thanks
>
> Jamie
>
>
>
>
--
http://opendocumentfellowship.org
"The reasonable man adapts himself to the world; the
unreasonable man tries to adapt the world to himself.
Therefore all progress depends on unreasonable men."
-- George Bernard Shaw
More information about the ubuntu-users
mailing list