<commit_before>[Unit]
Description=Docker Socket for the API
PartOf=docker.service

[Socket]
<% Array(node['docker']['host']).each do |socket| -%>
ListenStream=<%= socket.gsub(/^unix:\/\//,'').gsub(/^tcp:\/\//,'') %>
<% end -%>
SocketMode=0660
SocketUser=root
SocketGroup=<%= node['docker']['group'] || 'root' %>

[Install]
WantedBy=sockets.target<commit_msg>Revert "Don't gsub out the fd: bit because that's all that systemd supports"<commit_after>[Unit]
Description=Docker Socket for the API
PartOf=docker.service

[Socket]
<% Array(node['docker']['host']).each do |socket| -%>
ListenStream=<%= socket.gsub(/^unix:\/\//,'').gsub(/^tcp:\/\//,'').gsub(/^fd:\/\//,'') %>
<% end -%>
SocketMode=0660
SocketUser=root
SocketGroup=<%= node['docker']['group'] || 'root' %>

[Install]
WantedBy=sockets.target
{'fraction_non_alphanumeric': 0.25156445556946183, 'fraction_numerical': 0.010012515644555695, 'mean_word_length': 5.896551724137931, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, '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': '5198733', 'n_tokens_mistral': 316, 'n_tokens_neox': 289, 'n_words': 53}