<commit_before>[Unit]
Description=cassandra daemon
Wants=network-online.target
After=network-online.target

[Install]
WantedBy=multi-user.target

[Service]
ExecStart=<%= node.cassandra.installation_dir %>/bin/cassandra -f -p <%= node.cassandra.pid_dir %>/cassandra.pid
Type=simple
User=<%= node.cassandra.user %>
Group=<%= node.cassandra.group %>
StandardOutput=journal
StandardError=inherit
Environment="CASSANDRA_HOME=<%= node.cassandra.installation_dir %>" "CASSANDRA_CONF=<%= node.cassandra.conf_dir %>"
LimitNOFILE=infinity
PIDFile=<%= node.cassandra.pid_dir %>/cassandra.pid
ExecStop=<%= node.cassandra.installation_dir %>/bin/nodetool  disablegossip
ExecStop=<%= node.cassandra.installation_dir %>/bin/nodetool  disablethrift
ExecStop=<%= node.cassandra.installation_dir %>/bin/nodetool  drain
ExecStop=-<%= node.cassandra.installation_dir %>/bin/nodetool stopdaemon<commit_msg>Systemd cassandra: Add a bigger timeout for exec stop<commit_after>[Unit]
Description=cassandra daemon
Wants=network-online.target
After=network-online.target

[Install]
WantedBy=multi-user.target

[Service]
ExecStart=<%= node.cassandra.installation_dir %>/bin/cassandra -f -p <%= node.cassandra.pid_dir %>/cassandra.pid
Type=simple
User=<%= node.cassandra.user %>
Group=<%= node.cassandra.group %>
StandardOutput=journal
StandardError=inherit
Environment="CASSANDRA_HOME=<%= node.cassandra.installation_dir %>" "CASSANDRA_CONF=<%= node.cassandra.conf_dir %>"
LimitNOFILE=infinity
TimeoutStopSec=10min
PIDFile=<%= node.cassandra.pid_dir %>/cassandra.pid
ExecStop=<%= node.cassandra.installation_dir %>/bin/nodetool  disablegossip
ExecStop=<%= node.cassandra.installation_dir %>/bin/nodetool  disablethrift
ExecStop=<%= node.cassandra.installation_dir %>/bin/nodetool  drain
ExecStop=-<%= node.cassandra.installation_dir %>/bin/nodetool stopdaemon
{'fraction_non_alphanumeric': 0.1452758055707264, 'fraction_numerical': 0.0010922992900054614, 'mean_word_length': 7.723809523809524, 'pattern_counts': {'":': 0, '<': 25, '<?xml version=': 0, '>': 25, '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': '3002917', 'n_tokens_mistral': 691, 'n_tokens_neox': 658, 'n_words': 100}