diff options
author | Julian Blake Kongslie <jblake@omgwallhack.org> | 2010-11-07 00:09:53 -0700 |
---|---|---|
committer | Julian Blake Kongslie <jblake@omgwallhack.org> | 2010-11-07 00:09:53 -0700 |
commit | 82f9c9f1fa19c59e296570412656c66607d46f48 (patch) | |
tree | 37ddd246883521548513faebd94688b0db70e24c /pinyconfigs/etc/cron.weekly/piny | |
parent | 94fc7a992c7f3e163b491ce8b248f3c1b4ca2702 (diff) | |
download | piny-code-82f9c9f1fa19c59e296570412656c66607d46f48.tar.gz piny-code-82f9c9f1fa19c59e296570412656c66607d46f48.zip |
pinyconfigs
Adding a package that does all the config file magic to get a piny instance running.
Signed-off-by: Julian Blake Kongslie <jblake@omgwallhack.org>
Diffstat (limited to 'pinyconfigs/etc/cron.weekly/piny')
-rwxr-xr-x | pinyconfigs/etc/cron.weekly/piny | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/pinyconfigs/etc/cron.weekly/piny b/pinyconfigs/etc/cron.weekly/piny new file mode 100755 index 0000000..3719879 --- /dev/null +++ b/pinyconfigs/etc/cron.weekly/piny @@ -0,0 +1,8 @@ +#/bin/sh + +export GIT_DIR + +for GIT_DIR in `find /srv/git/ -mindepth 1 -type d -name '*.git' -print -prune`; do + git gc --aggressive --auto --quiet + git pack-refs --all +done |