News for hackers. Stuff that matters.
Re:This Is Why Your Website Is Slow by joezydeco on Tuesday November 29, 2011 @03:45PM (#3292091)
That's awesome.

So could I get a little more detail here about why git is important? Are you making a init script to pull the file directly into /etc/hosts at boot (or at an interval)?

Re:This Is Why Your Website Is Slow by chalst on Tuesday November 29, 2011 @03:57PM (#3292137)
Well, it's a little bit of work.

The point is that several people can maintain their own branches of /etc/hosts and use git to keep them up to date and propagate their additions.

I'd just clobber /etc/hosts from the repo file with cp -f, whenever the repo is changed, no need for any cron/init automation.