Sha256: 0b3f8af78e11e49c813a925873755e885e53eedd3aefa50fcc7ed9b8422c5562
Contents?: true
Size: 886 Bytes
Versions: 20
Compression:
Stored size: 886 Bytes
Contents
app_name = '<%= application %>' rails_root = '<%= deploy_to %>/current' unicorn_bin = '<%= unicorn_bin %>' unicorn_pid = '<%= unicorn_pid %>' unicorn_config = '<%= unicorn_remote_config %>' unicorn_start_cmd = '<%= unicorn_start_cmd %>' unicorn_stop_cmd = '<%= unicorn_stop_cmd %>' unicorn_restart_cmd = '<%= unicorn_restart_cmd %>' # Unicorn God.watch do |w| unicorn(w, rails_root, :memory_limit => 100.megabytes, :cpu_limit => 50.percent, :bin_unicorn => unicorn_bin, :name => app_name, :rails_root => rails_root, :unicorn_conf => unicorn_config, :unicorn_pid => unicorn_pid, :start_cmd => unicorn_start_cmd, :stop_cmd => unicorn_stop_cmd, :restart_cmd => unicorn_restart_cmd, :user => '<%= unicorn_user %>', :group => '<%= unicorn_group %>') end
Version data entries
20 entries across 20 versions & 3 rubygems