sleep 1
$0 start
;;
*)
echo Usage: $0 {start|stop|restart|force-reload} 2
exit 1
;;
esac
exit 0
Matt McCutchen-7 wrote:
On Wed, 2007-12-19 at 11:10 +0100, Johan Huysmans wrote:
I want to run 2 rsync daemons on my system. Each has its own
have such init script or ideas of how that should be build.
I'm trying using the functions provided by /etc/init.d/functions on a
centos system.
This will check for the pid in /var/run/rsync.pid, but this doesn't work
nicely with multiple daemons.
Any help would be greatly appreciated.
Johan
I noticed it is working with the rysnc-3.0.0-pre5, or at least the protocol
of it. Is it possible to use that protocol for the curren stable release.
Greetings Johan
Johan Huysmans wrote:
whoops forgot to mention the error i receive ;)
This message appears on the client side:
rsync
normal sizes files available)
I hope someone call help me or point me to the right direction.
Greetings Johan Huysmans
--
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
whoops forgot to mention the error i receive ;)
This message appears on the client side:
rsync: writefd_unbuffered failed to write 4092 bytes [generator]:
Connection reset by peer (104)
rsync error: error in rsync protocol data stream (code 12) at io.c(1122)
[generator=2.6.9]
rsync error: