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" }