<commit_before>include_recipe "monit"

link "/usr/bin/mongrel_rails" do
  to "/usr/local/bin/mongrel_rails"
  only_if "test -f /usr/local/bin/mongrel_rails"
end

template "/etc/monit/monitrc" do
  source "monitrc-mongrel.erb"
  owner "root"
  group "root"
  mode "600"
  only_if "test -f /etc/mongrel_cluster/app.yml"
  end_port = node[:monit][:start_port].to_i + node[:monit][:servers].to_i - 1
  variables(
    :start_port => node[:monit][:start_port].to_i,
    :end_port => end_port,
    :email => node[:monit][:email])
  notifies :reload, resources(:service => "monit")
end<commit_msg>remove mongrel_rails link<commit_after>include_recipe "monit"

template "/etc/monit/monitrc" do
  source "monitrc-mongrel.erb"
  owner "root"
  group "root"
  mode "600"
  only_if "test -f /etc/mongrel_cluster/app.yml"
  end_port = node[:monit][:start_port].to_i + node[:monit][:servers].to_i - 1
  variables(
    :start_port => node[:monit][:start_port].to_i,
    :end_port => end_port,
    :email => node[:monit][:email])
  notifies :reload, resources(:service => "monit")
end
{'fraction_non_alphanumeric': 0.16494845360824742, 'fraction_numerical': 0.007497656982193065, 'mean_word_length': 4.505154639175258, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 11, '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': '1171843', 'n_tokens_mistral': 434, 'n_tokens_neox': 423, 'n_words': 77}