On Wed, Nov 19, 2008 at 10:27 PM, Daniel Jomphe <[EMAIL PROTECTED]> wrote:
>
> I have a working installation of Gitorious, although I suspect it's
> not doing all it should do.
>
> Here's what I crontab:
>
>  script/task_performer
>  rake -f /<path>/gitorious/Rakefile ultrasphinx:index

Here's the crontab I'm running:
*/1 * * * * /usr/bin/ruby1.8 /home/git/app/current/script/task_performer
*/6 * * * * bash -c 'cd /home/git/app/current/;
PATH="/usr/local/bin:$PATH"; RAILS_ENV=production rake
ultrasphinx:index >>
/home/git/app/shared/sphinx/log/ultrasphinx-index.log 2>&1'
*/3 * * * * bash -c 'cd /home/git/app/current/;
PATH="/usr/local/bin:$PATH"; RAILS_ENV=production rake
ultrasphinx:daemon:start >>
/home/git/app/shared/sphinx/log/ultrasphinx-daemon.log 2>&1'
20 */8 * * * PATH="/usr/local/bin:$PATH" /usr/bin/ruby1.8
/home/git/app/current/script/graph_generator

Note that's there a few clones on gitorious.org that have a daemonized
task_performer, I haven't merged these yet but will soon. In the
longer run we might work towards having only one daemon to start that
handles/delegates everything, but not quite there yet…


>
> Here's what is startup'ed:
>
>  rake ultrasphinx:daemon:start
>  script/git-daemon -d
>  script/server -d
>
> Is there something else that I should run? Some probable candidates
> might be graph_generator, rebuild_events, and repo_housekeeping, but I
> don't know if they're automatically run or not.

rebuild_events is just an utility that literally does what it says on the can
repo_housekeeping runs "git gc" on all the repositories, run it
whenever you feel like it.

> I tried running manually rebuild_events but it failed with the
> following message:
>
>  /usr/bin/env: ruby -KU: No such file or directory

either change the shebang or just run it with "ruby script/graph_generator"

Cheers,
JS

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Gitorious" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/gitorious?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to