<commit_before>[Unit]
Description=Sentry Worker
After=network.target

[Service]
User=<%= @user %>
Group=<%= @group %>
Type=simple
Environment=VIRTUAL_ENV="<%= @path %>"
Environment=PATH="$VIRTUAL_ENV/bin:$PATH"
WorkingDirectory=<%= @path %>
ExecStart=<%= @path %>/bin/sentry --config=<%= @path %> run worker -f /var/log/sentry/sentry-worker.log --concurrency <%= scope['::sentry::worker_concurrency'] %>
ExecStop=/bin/kill -KILL $MAINPID
ExecReload=/bin/kill -HUP $MAINPID

[Install]<commit_msg>Add restart=always flag to worker unit<commit_after>[Unit]
Description=Sentry Worker
After=network.target

[Service]
User=<%= @user %>
Group=<%= @group %>
Type=simple
Environment=VIRTUAL_ENV="<%= @path %>"
Environment=PATH="$VIRTUAL_ENV/bin:$PATH"
WorkingDirectory=<%= @path %>
ExecStart=<%= @path %>/bin/sentry --config=<%= @path %> run worker -f /var/log/sentry/sentry-worker.log --concurrency <%= scope['::sentry::worker_concurrency'] %>
ExecStop=/bin/kill -KILL $MAINPID
ExecReload=/bin/kill -HUP $MAINPID
Restart=always

[Install]
{'fraction_non_alphanumeric': 0.2, 'fraction_numerical': 0.0, 'mean_word_length': 6.870229007633588, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 17, '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': '6797510', 'n_tokens_mistral': 406, 'n_tokens_neox': 361, 'n_words': 71}