Class: GDK::Services::Postgresql

Inherits:
Required show all
Defined in:
lib/gdk/services/postgresql.rb

Overview

PostgreSQL server

Instance Method Summary collapse

Methods inherited from Required

#enabled?

Methods inherited from Base

#enabled?, #env, #initialize, #procfile_entry, #ready_message

Constructor Details

This class inherits a constructor from GDK::Services::Base

Instance Method Details

#commandObject



11
12
13
# File 'lib/gdk/services/postgresql.rb', line 11

def command
  %(support/postgresql-signal-wrapper #{postgresql_bin} -D #{postgresql_data_dir} -k #{postgresql_dir} -h '#{postgresql_active_host}' -c max_connections=#{postgresql_max_connections})
end

#nameObject



7
8
9
# File 'lib/gdk/services/postgresql.rb', line 7

def name
  'postgresql'
end