summaryrefslogtreecommitdiff
path: root/deploy/etc/cron.daily/piny
blob: b42a8061bc6f6f693052d1d9403eec260e3ae07c (plain)
1
2
3
4
5
6
7
8
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