From 27a622d8691f16b82b0afae69f9f4fedd15fe6a3 Mon Sep 17 00:00:00 2001
From: Bryan Bishop <kanzure@gmail.com>
Date: Fri, 29 Oct 2010 19:48:20 -0500
Subject: Moved deployment-specific files and configuration to deploy/ until
 someone fixes the debian packages.

---
 deploy/etc/cron.daily/piny | 9 +++++++++
 1 file changed, 9 insertions(+)
 create mode 100644 deploy/etc/cron.daily/piny

(limited to 'deploy/etc/cron.daily/piny')

diff --git a/deploy/etc/cron.daily/piny b/deploy/etc/cron.daily/piny
new file mode 100644
index 0000000..b42a806
--- /dev/null
+++ b/deploy/etc/cron.daily/piny
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+export GIT_DIR
+
+for GIT_DIR in $(find /srv/git/ -maxdepth 1 -mindepth 1 -type d -name '*.git'); do
+#  echo $GIT_DIR
+  git gc --aggressive --auto --quiet
+  git update-server-info
+done
-- 
cgit v1.2.3