Sha256: e5c60985741b97004e43769558f77aeadf2513627874cd8dfe2defd1b218b85c

Contents?: true

Size: 721 Bytes

Versions: 7

Compression:

Stored size: 721 Bytes

Contents

  process 'sphinx' do
    pid_file "<%= fetch(:thinking_sphinx_pid_file) %>"
    start_command "<%= fetch(:rbenv_prefix) %> bundle exec rake ts:start"

    stop_command "<%= fetch(:rbenv_prefix) %> bundle exec rake ts:stop"

    # soft restart
    restart_command "<%= fetch(:rbenv_prefix) %> bundle exec rake ts:restart"

    check :cpu, :every => 30, :below => 80, :times => 3

    start_timeout <%= options[:start_timeout] %>.seconds
    stop_timeout <%= options[:stop_timeout] %>.seconds
    restart_timeout <%= options[:restart_timeout] %>.seconds

    start_grace <%= options[:start_grace] %>.seconds
    stop_grace <%= options[:stop_grace] %>.seconds
    restart_grace <%= options[:restart_grace] %>.seconds
  end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
negroku-2.8.6 lib/negroku/capistrano/templates/eye/_sphinx.erb
negroku-2.8.5 lib/negroku/capistrano/templates/eye/_sphinx.erb
negroku-2.8.4 lib/negroku/capistrano/templates/eye/_sphinx.erb
negroku-2.8.3 lib/negroku/capistrano/templates/eye/_sphinx.erb
negroku-2.8.2 lib/negroku/capistrano/templates/eye/_sphinx.erb
negroku-2.8.1 lib/negroku/capistrano/templates/eye/_sphinx.erb
negroku-2.8.0 lib/negroku/capistrano/templates/eye/_sphinx.erb