<commit_before>[Service]
Type=simple
PermissionsStartOnly=true
ExecStartPre=/usr/bin/mkdir -p /run/reaktor
ExecStartPre=/usr/bin/chown reaktor:reaktor /run/reaktor
ExecStart=/usr/bin/rake start
ExecStop=/usr/bin/rake stop
EnvironmentFile=<%= scope['::reaktor::homedir'] %>/etc/reaktor_environment
WorkingDirectory=<%= scope['::reaktor::_install_dir']%>
User=<%= scope['::reaktor::user'] %>
Group=<%= scope['::reaktor::group'] %>
PIDFile=/run/reaktor/reaktor.pid
<commit_msg>finally a working systemd service file for reaktor<commit_after>[Service]
Type=forking
PermissionsStartOnly=true
ExecStartPre=/usr/bin/mkdir -p /run/reaktor
ExecStartPre=/usr/bin/chown reaktor:reaktor /run/reaktor
ExecStart=/usr/bin/rake start
ExecStop=/usr/bin/rake stop
EnvironmentFile=<%= scope['::reaktor::homedir'] %>/etc/reaktor_environment
WorkingDirectory=<%= scope['::reaktor::_install_dir']%>
User=<%= scope['::reaktor::user'] %>
Group=<%= scope['::reaktor::group'] %>
PIDFile=/run/reaktor/reaktor.<%= scope['::reaktor::port'] %>.pid

{'fraction_non_alphanumeric': 0.1944990176817289, 'fraction_numerical': 0.0, 'mean_word_length': 8.523364485981308, 'pattern_counts': {'":': 0, '<': 12, '<?xml version=': 0, '>': 12, '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': '2336699', 'n_tokens_mistral': 382, 'n_tokens_neox': 374, 'n_words': 55}