Re: multiple rsyncd daemons: init script

2007-12-21 Thread Johan Huysmans
Hi, Thanks for the input. I worked this out and have now an init script which can work with multiple rsync instances. I've read through the daemon and killproc functions of the functions file, and found an even easier solution. The only requirement is dat the basename of the pid file must be t

Re: multiple rsyncd daemons: init script

2007-12-20 Thread Matt McCutchen
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 > configuration file, and they are listening on a specific port. > These 2 daemons are running perfectly but getting them started by 2 init > scripts is a bit more difficult. >

multiple rsyncd daemons: init script

2007-12-19 Thread Johan Huysmans
Hi all, I want to run 2 rsync daemons on my system. Each has its own configuration file, and they are listening on a specific port. These 2 daemons are running perfectly but getting them started by 2 init scripts is a bit more difficult. The problem is that when stopping rsync you check the p