From 6a0f374470b23b4a2c96501fe50189749e250e97 Mon Sep 17 00:00:00 2001 From: John Bintz Date: Tue, 3 Jul 2012 22:42:58 -0400 Subject: [PATCH] where did i actually spell this correctly? --- skel/bin/god.conf | 2 +- skel/capistrano/god | 2 +- skel/capistrano/schedule.rb | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/skel/bin/god.conf b/skel/bin/god.conf index f35d840..36d6b44 100644 --- a/skel/bin/god.conf +++ b/skel/bin/god.conf @@ -15,7 +15,7 @@ end port = <%= thin_port %> + port_id God.watch do |w| - # assign all watches to this group so personal_diety can stop/start them all at once + # assign all watches to this group so personal_deity can stop/start them all at once w.group = "<%= application %>" w.name = "<%= application %>-thin-#{port}" diff --git a/skel/capistrano/god b/skel/capistrano/god index 1e771c6..a2973e3 100755 --- a/skel/capistrano/god +++ b/skel/capistrano/god @@ -2,7 +2,7 @@ base_command="bundle exec god -p <%= god_port %>" if [ -z $1 ]; then - $base_command --log-level <%= god_log_level %> -l <%= personal_diety_target %>/god.log -c <%= config_path %> -P <%= personal_diety_target %>/god.pid + $base_command --log-level <%= god_log_level %> -l <%= personal_deity_target %>/god.log -c <%= config_path %> -P <%= personal_deity_target %>/god.pid else $base_command $@ fi diff --git a/skel/capistrano/schedule.rb b/skel/capistrano/schedule.rb index 8965f5c..565149f 100644 --- a/skel/capistrano/schedule.rb +++ b/skel/capistrano/schedule.rb @@ -1,4 +1,4 @@ -job_type :god, '<%= generate_personal_diety_command %>' +job_type :god, '<%= generate_personal_deity_command %>' every(:reboot) { god "run" }