class Capistrano::NginxPuma::Generators::ConfigGenerator

Public Instance Methods

copy_template() click to toggle source
# File lib/generators/capistrano/nginx_puma/config_generator.rb, line 11
def copy_template
  copy_file "../../../../capistrano/templates/puma.rb.erb", "#{templates_path}/puma.rb.erb"
  copy_file "../../../../capistrano/templates/nginx_conf.erb", "#{templates_path}/nginx_conf.erb"
  # copy_file "puma.rb.erb", "#{templates_path}/puma.rb.erb"
  # copy_file "puma_init.erb", "#{templates_path}/puma_init.erb"
  # copy_file "logrotate.erb", "#{templates_path}/logrotate.erb"
end