<commit_before>start on starting <%= app_name %>
stop on stopping <%= app_name %>
respawn

chdir /usr/share/<%= app_name %>
env GEM_HOME=/usr/share/<%= app_name %>/.gems
env HOME=/usr/share/<%= app_name %>

script
  . /etc/default/<%= app_name %>
  .gems/bin/passenger start -e production -p $HTTP_PORT --user root
end script
<commit_msg>Make upstart to properly stop passenger service<commit_after>start on starting <%= app_name %>
stop on stopping <%= app_name %>
respawn

chdir /usr/share/<%= app_name %>
env GEM_HOME=/usr/share/<%= app_name %>/.gems
env HOME=/usr/share/<%= app_name %>
expect fork

script
  . /etc/default/<%= app_name %>
  .gems/bin/passenger start -e production -p $HTTP_PORT --user root
end script

{'fraction_non_alphanumeric': 0.16066481994459833, 'fraction_numerical': 0.0, 'mean_word_length': 3.986206896551724, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 15, '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': '3728431', 'n_tokens_mistral': 287, 'n_tokens_neox': 248, 'n_words': 72}