[mirror-admin] push mirroring - who owns the SSH keys?
Ask Bjørn Hansen
ask at develooper.com
Sun Jun 21 00:30:51 EDT 2009
If the "push" is just a notification rather than the actual mirroring;
the push doesn't have to be via ssh or rsync.
The mirror servers usually run a web server anyway. Install a small
CGI in a password protected location. If you run a private mirror
that's not accessible from the outside via http, it's unlikely it'd be
accessible via ssh ...
The CGI (or whatever trigger) won't actually start the mirroring job.
Just update a flag somewhere (think touch a file). The flag is the
"queue" J.H. mentioned.
The mirror script can then run every few minutes and just abort if the
flag hasn't been touched since the last rsync run started.
- ask
--
http://develooper.com/ - http://askask.com/
--
More information about the Mirror-admin
mailing list