Skip to content

Instantly share code, notes, and snippets.

@akitaonrails
Created October 1, 2008 07:55
Show Gist options
  • Save akitaonrails/14052 to your computer and use it in GitHub Desktop.
Save akitaonrails/14052 to your computer and use it in GitHub Desktop.
Logrotate for Gitorious
/var/www/gitorious/log/*log {
missingok
notifempty
sharedscripts
postrotate
/sbin/service git-daemon restart > /dev/null 2>/dev/null || true
/sbin/service git-ultrasphinx restart > /dev/null 2>/dev/null || true
/bin/touch /var/www/gitorious/tmp/restart.txt > /dev/null 2>/dev/null || true
endscript
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment