Commit 1b298844 by John Doe

added passenger restart

parent 1016e640
...@@ -32,7 +32,7 @@ require "capistrano/rbenv" ...@@ -32,7 +32,7 @@ require "capistrano/rbenv"
require "capistrano/bundler" require "capistrano/bundler"
require "capistrano/rails/assets" require "capistrano/rails/assets"
require "capistrano/rails/migrations" require "capistrano/rails/migrations"
# require "capistrano/passenger" require "capistrano/passenger"
# Load custom tasks from `lib/capistrano/tasks` if you have any defined # Load custom tasks from `lib/capistrano/tasks` if you have any defined
Dir.glob("lib/capistrano/tasks/*.rake").each { |r| import r } Dir.glob("lib/capistrano/tasks/*.rake").each { |r| import r }
...@@ -38,3 +38,5 @@ append :linked_files, "config/secrets.yml", "db/production.sqlite3" ...@@ -38,3 +38,5 @@ append :linked_files, "config/secrets.yml", "db/production.sqlite3"
# Default value for keep_releases is 5 # Default value for keep_releases is 5
# set :keep_releases, 5 # set :keep_releases, 5
#after 'deploy:publishing', 'deploy:restart'
...@@ -63,11 +63,11 @@ Rails.application.configure do ...@@ -63,11 +63,11 @@ Rails.application.configure do
:port => 25, :port => 25,
:domain => "wattsworth.net", :domain => "wattsworth.net",
:user_name => ENV['SMTP_USERNAME'], :user_name => ENV['SMTP_USERNAME'],
:password => ENV['GMAIL_PASSWORD'], :password => ENV['SMTP_PASSWORD'],
:authentication => "login", :authentication => "login",
:enable_starttls_auto => true :enable_starttls_auto => true
} }
# Ignore bad email addresses and do not raise email delivery errors. # Ignore bad email addresses and do not raise email delivery errors.
# Set this to true and configure the email server for immediate delivery to raise delivery errors. # Set this to true and configure the email server for immediate delivery to raise delivery errors.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment