On Mon, Feb 8, 2010 at 1:48 PM, weu <[email protected]> wrote:
> Hi Marius, you were right, I had the correct values in the
> gitorious.yml file, but I forgot to add the url to the /etc/hosts too.
> Now it's working correctly.
>
Great!
Do you know about the poller init? It seems that it needs to be always
> run, in order to set keys and repositories, but in the Christian guide
> (and other) I didn't find any process init script in order to start it
> at boot and not manually
>
I know nothing about startup scripts in Gentoo, but the script/poller
script, being based on Ruby's daemons package, is intended for being used in
system scripts. Here's something I've been using on Ubuntu:
#!/bin/sh
start()
{
/bin/su git -c "cd /var/www/gitorious/app && env RAILS_ENV=production
script/poller start"
}
stop()
{
/bin/su git -c "cd /var/www/gitorious/app && env RAILS_ENV=production
script/poller stop"
}
case "$1" in
start)
start
;;
stop)
stop
;;
restart)
stop
start
;;
*)
echo $"Usage: $0 {start|stop|restart]"
esac
Do you think this could work on Gentoo?
- Marius
--
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]