Sha256: b197a88c9b2f9b4888da7be35e06fe56e3b3dfa74de00e154b53532b047aa061

Contents?: true

Size: 660 Bytes

Versions: 82

Compression:

Stored size: 660 Bytes

Contents

Bluepill.application("nginx", :log_file => "<%= @log_dir %>/bluepill-nginx.log") do |app|
  app.process("nginx") do |process|
    process.pid_file           = "<%= @pid %>"
    process.working_dir        = "<%= @working_dir %>"
    process.start_command      = "<%= @src_binary %> -c <%= @nginx_dir %>/nginx.conf"
    process.stop_command       = "kill -QUIT {{PID}}"
    process.restart_command    = "kill -HUP {{PID}}"
    process.daemonize          = true
    process.stdout             = process.stderr = "<%= @log_dir %>/nginx.log"

    process.monitor_children do |child_process|
      child_process.stop_command = "kill -QUIT {{PID}}"
    end
  end
end

Version data entries

82 entries across 82 versions & 3 rubygems

Version Path
berkshelf-0.6.0.beta1 spec/fixtures/cookbooks/nginx-0.100.5/templates/default/nginx.pill.erb
berkshelf-0.5.0 spec/fixtures/cookbooks/nginx-0.100.5/templates/default/nginx.pill.erb
berkshelf-0.5.0.rc4 spec/fixtures/cookbooks/nginx-0.100.5/templates/default/nginx.pill.erb
berkshelf-0.5.0.rc3 spec/fixtures/cookbooks/nginx-0.100.5/templates/default/nginx.pill.erb
berkshelf-0.5.0.rc2 spec/fixtures/cookbooks/nginx-0.100.5/templates/default/nginx.pill.erb
berkshelf-0.5.0.rc1 spec/fixtures/cookbooks/nginx-0.100.5/templates/default/nginx.pill.erb
berkshelf-0.4.0 spec/fixtures/cookbooks/nginx-0.100.5/templates/default/nginx.pill.erb
berkshelf-0.4.0.rc4 spec/fixtures/cookbooks/nginx-0.100.5/templates/default/nginx.pill.erb
berkshelf-0.4.0.rc3 spec/fixtures/cookbooks/nginx-0.100.5/templates/default/nginx.pill.erb
berkshelf-0.4.0.rc2 spec/fixtures/cookbooks/nginx-0.100.5/templates/default/nginx.pill.erb
berkshelf-0.4.0.rc1 spec/fixtures/cookbooks/nginx-0.100.5/templates/default/nginx.pill.erb
berkshelf-0.3.7 spec/fixtures/cookbooks/nginx-0.100.5/templates/default/nginx.pill.erb
berkshelf-0.3.3 spec/fixtures/cookbooks/nginx-0.100.5/templates/default/nginx.pill.erb
berkshelf-0.3.2 spec/fixtures/cookbooks/nginx-0.100.5/templates/default/nginx.pill.erb
berkshelf-0.3.1 spec/fixtures/cookbooks/nginx-0.100.5/templates/default/nginx.pill.erb
berkshelf-0.3.0 spec/fixtures/cookbooks/nginx-0.100.5/templates/default/nginx.pill.erb
berkshelf-0.2.0 spec/fixtures/cookbooks/nginx-0.100.5/templates/default/nginx.pill.erb
berkshelf-0.1.5 spec/fixtures/cookbooks/nginx-0.100.5/templates/default/nginx.pill.erb
berkshelf-0.1.4 spec/fixtures/cookbooks/nginx-0.100.5/templates/default/nginx.pill.erb
berkshelf-0.1.3 spec/fixtures/cookbooks/nginx-0.100.5/templates/default/nginx.pill.erb