On Wed, Dec 16, 2009 at 4:25 PM, flip at infochimps org
<[email protected]> wrote:
> Hello all,
>
> I've gathered a good basis set of recipes for God and put them at
>  http://github.com/mrflip/godhead
> or available through gemcutter,
>  sudo gem install godhead
>
> With godhead, the god config for an nginx-proxying-to-unicorn site
> looks in its entirety like
>
> require 'godhead'
> # ====================================================
> #
> # Cartilage web app
> #
> CARTILAGE_DEPLOY_DIR = '/var/www/cartilage'
> group_options = { :monitor_group => :cartilage, }
> Godhead::NginxRunnerRecipe.create group_options.merge({ })
> Godhead::UnicornRecipe.create     group_options.merge({
>    :root_dir => CARTILAGE_DEPLOY_DIR+'/current',
>    :pid_file => CARTILAGE_DEPLOY_DIR+'/shared/tmp/unicorn.pid',
>    :uid      => 'www-data',
>  })
>
> I've just started this, so please give me any feedback on design, and
> feel free to contribute additional recipes.
>
> cheers,
> [email protected]
>
> --
>
> You received this message because you are subscribed to the Google Groups 
> "god.rb" 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/god-rb?hl=en.
>
>
>

interesting. I've thinking of doing something like this but have no
skill and time to do it. Or maybe I'm just lazy. (I also wanted to
create godctl - something like supervisorctl)

For starter:
- how about using '#!/usr/bin/env bash' for the shebang in
'/examples/etc/init.d/god'?
- shouldn't you recommend '/etc/init.d/god start' instead of 'god -c
/etc/god.conf' in 14 of same file?
-- 
O< ascii ribbon campaign - stop html mail - www.asciiribbon.org

--

You received this message because you are subscribed to the Google Groups 
"god.rb" 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/god-rb?hl=en.


Reply via email to