<commit_before>description "pycon-progcom gunicorn application server"
start on runlevel [2345]
stop on runlevel [06]

console log
setuid pycon-progcom
setgid pycon-progcom

chdir /srv/pycon-progcom/progcom
env LC_ALL=en_US.UTF-8
env LANG=en_US.UTF-8
env ADMIN_EMAILS={{ admin_emails|json }}
env EMAIL_FROM={{ email_from }}
env FLASK_SECRET_KEY={{ flask_secret_key }}
env ITSD_KEY={{ itsd_key }}
env OBSERVER_EMAILS={{ observer_emails|json }}
{% from "consul/jinja.sls" import simple_service %}
{% call(addr, port) simple_service("primary.postgresql") %}
env PSQL_CONNECTION_STRING=postgresql+psycopg2://{{ pg_user }}:{{ pillar["postgresql-users"][pg_user] }}@postgresql.psf.io:{{ port }}/{{ pg_db }}?hostaddr={{ addr }}&sslmode=verify-full&sslrootcert=/etc/ssl/certs/PSF_CA.pem
{% endcall %}
env PYCON_API_HOST={{ pycon_api_host }}
env PYCON_API_KEY={{ pycon_api_key }}
env PYCON_API_SECRET={{ pycon_api_secret }}
env ROOMS={{ rooms|json }}
env ROOM_SCHEDULES={{ room_schedules|json }}
env SENDGRID_API_KEY={{ sendgrid_api_key }}
env SLACK_TOKEN={{ slack_token }}
env WEB_HOST={{ web_host }}

<commit_msg>quote 'em if ya got 'em<commit_after>description "pycon-progcom gunicorn application server"
start on runlevel [2345]
stop on runlevel [06]

console log
setuid pycon-progcom
setgid pycon-progcom

chdir /srv/pycon-progcom/progcom
env LC_ALL=en_US.UTF-8
env LANG=en_US.UTF-8
env ADMIN_EMAILS='{{ admin_emails|json }}'
env EMAIL_FROM={{ email_from }}
env FLASK_SECRET_KEY={{ flask_secret_key }}
env ITSD_KEY={{ itsd_key }}
env OBSERVER_EMAILS='{{ observer_emails|json }}'
{% from "consul/jinja.sls" import simple_service %}
{% call(addr, port) simple_service("primary.postgresql") %}
env PSQL_CONNECTION_STRING=postgresql+psycopg2://{{ pg_user }}:{{ pillar["postgresql-users"][pg_user] }}@postgresql.psf.io:{{ port }}/{{ pg_db }}?hostaddr={{ addr }}&sslmode=verify-full&sslrootcert=/etc/ssl/certs/PSF_CA.pem
{% endcall %}
env PYCON_API_HOST={{ pycon_api_host }}
env PYCON_API_KEY={{ pycon_api_key }}
env PYCON_API_SECRET={{ pycon_api_secret }}
env ROOMS='{{ rooms|json }}'
env ROOM_SCHEDULES='{{ room_schedules|json }}'
env SENDGRID_API_KEY={{ sendgrid_api_key }}
env SLACK_TOKEN={{ slack_token }}
env WEB_HOST={{ web_host }}


{'fraction_non_alphanumeric': 0.15246636771300448, 'fraction_numerical': 0.008071748878923767, 'mean_word_length': 7.262962962962963, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '3428749', 'n_tokens_mistral': 916, 'n_tokens_neox': 896, 'n_words': 169}