<commit_before>gem_package "unicorn" do
  action :upgrade
end

service "unicorn" do
  supports :start => true, :stop => true, :restart => true, :reload => true
  action :enable
end

directory "/etc/unicorn" do
  owner "root"
  group "root"
  mode "755"
  action :create
end

template "/etc/init.d/unicorn" do
  source "/etc/init.d/unicorn-init.sh.erb"
  owner "root"
  group "root"
  mode "755"
end

template "/etc/unicorn/app.rb" do
  source "unicorn.rb.erb"
  owner "root"
  group "root"
  mode "644"
  notifies :restart, resources(:service => "unicorn")
end

link "/usr/bin/unicorn" do
  to "/var/lib/gems/1.8/bin/unicorn"
  only_if "test -f /var/lib/gems/1.8/bin/unicorn"
end

link "/usr/bin/unicorn_rails" do<commit_msg>copy paste suck<commit_after>gem_package "unicorn" do
  action :upgrade
end

service "unicorn" do
  supports :start => true, :stop => true, :restart => true, :reload => true
  action :enable
end

directory "/etc/unicorn" do
  owner "root"
  group "root"
  mode "755"
  action :create
end

template "/etc/init.d/unicorn" do
  source "unicorn-init.sh.erb"
  owner "root"
  group "root"
  mode "755"
end

template "/etc/unicorn/app.rb" do
  source "unicorn.rb.erb"
  owner "root"
  group "root"
  mode "644"
  notifies :restart, resources(:service => "unicorn")
end

link "/usr/bin/unicorn" do
  to "/var/lib/gems/1.8/bin/unicorn"
  only_if "test -f /var/lib/gems/1.8/bin/unicorn"
end

link "/usr/bin/unicorn_rails" do
{'fraction_non_alphanumeric': 0.15, 'fraction_numerical': 0.018055555555555554, 'mean_word_length': 3.5172413793103448, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 13, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2944190', 'n_tokens_mistral': 585, 'n_tokens_neox': 566, 'n_words': 149}