<commit_before>#!/bin/bash

cd <%= @options[:app]['deploy_to'] %>/current

exec 2>&1
exec chpst -u <%= @options[:app]["owner"] %>:<%= @options[:app]["group"] %> <%= @options[:smells_like_rack] ? 'unicorn' : 'unicorn_rails' %> -E <%= @options[:rails_env] %> -c /etc/unicorn/<%= @options[:app]['id'] %>.rb
<commit_msg>COOK-1374 sv-unicorn-run.erb should use runit attributes<commit_after>#!/bin/bash

cd <%= @options[:app]['deploy_to'] %>/current

exec 2>&1
exec <%= node[:runit][:chpst_bin] %> -u <%= @options[:app]["owner"] %>:<%= @options[:app]["group"] %> <%= @options[:smells_like_rack] ? 'unicorn' : 'unicorn_rails' %> -E <%= @options[:rails_env] %> -c /etc/unicorn/<%= @options[:app]['id'] %>.rb

{'fraction_non_alphanumeric': 0.289586305278174, 'fraction_numerical': 0.011412268188302425, 'mean_word_length': 6.3125, 'pattern_counts': {'":': 0, '<': 16, '<?xml version=': 0, '>': 18, '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': '7541157', 'n_tokens_mistral': 315, 'n_tokens_neox': 269, 'n_words': 45}