If you can see this, it worked#
Thu, 13 Feb 2014 22:50:59 +0000
For values of "this" which you don't care about and can't see, but my hacky homebrew blogging engine now watches a bare git repo using inotify and runs a checkout/refreshes its content when it sees changes. I'm not sure it wouldn't have been simpler just to make it die and then use a, y'know, shell script or something to run a git pull before restarting the server, but I did it this way because ZERO DOWNTIME.
Anyway. You don't see and can't care, or possibly vice versa. But the previous Heath Robinson stuff with git hooks wasn't working now that the bare git repo is owned by someone other than the uid that runs the http daemon, so a different Heath was called for.