# File lib/dister/core.rb, line 269
    def package_config_files
      filename = File.expand_path('../../templates/passenger.erb', __FILE__)
      erb = ERB.new(File.read(filename))
      config_content = erb.result(binding)

      config_path = "#{APP_ROOT}/.dister/#{@options.app_name}_apache.conf"
      FileUtils.rm(config_path, :force => true)
      File.open(config_path, 'w') do |config_file|
        config_file.write(config_content)
      end

      @db_adapter = get_db_adapter
      unless @db_adapter.nil?
        create_db_user_file = "#{APP_ROOT}/.dister/create_db_user.sql"
        FileUtils.rm(create_db_user_file, :force => true)
        File.open(create_db_user_file, 'w') do |file|
          file.write(@db_adapter.create_user_cmd)
        end
      end
    end