How to create a new mirror


Freepto needs hosting: letting the user download `.img` files, hosting a debian repositories, and stuff like that.

If you want to contribute to freepto, you can setup a new mirror!

How to

You just need some rsync cronjob

Assuming that /var/www/ is the documentroot of your webserver, put

mkdir -p /var/www/freepto
rsync -r /var/www/freepto/releases/
rsync -r /var/www/freepto/torrent/

in /etc/cron.hourly/mirrorfreepto then chmod +x /etc/cron.hourly/mirrorfreepto