Looking at the template doc/templates/ubuntu/gitorious-logrotate (which
is similar to centos), I found:
/var/www/gitorious/log/*log {
missingok
notifempty
sharedscripts
postrotate
/etc/init.d/git-daemon restart > /dev/null 2>/dev/null || true
/etc/init.d/git-ultrasphinx restart > /dev/null 2>/dev/null || true
/bin/touch /var/www/gitorious/tmp/restart.txt > /dev/null
2>/dev/null || true
endscript
}
Is there any reasons why git-poller shouldn't also be restarted?
I've faced some issues where I stopped getting logging from
log/message_processing.log and I guess the problem is that git-poller
should be also restarted after log rotating.
Am I missing something? If I'm correct, I'll send a merge request
updating these templates.
Best regards,
Rodrigo.
--
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]