Created
October 1, 2008 07:55
-
-
Save akitaonrails/14052 to your computer and use it in GitHub Desktop.
Logrotate for Gitorious
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/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