[Unit]
Description=<%= @daemon_name %> daemon

[Service]
User=<%= @user %>
EnvironmentFile=<%= @env_path %>
ExecStart=/bin/bash $KAFKA_RUN $KAFKA_ARGS $KAFKA_CONFIG
TimeoutSec=10

[Install]
WantedBy=multi-user.target

[Unit]
Description=<%= @daemon_name %> daemon

[Service]
User=<%= @user %>
EnvironmentFile=<%= @env_path %>
ExecStart=/bin/bash $KAFKA_RUN $KAFKA_ARGS $KAFKA_CONFIG
TimeoutSec=10
<%= if node.kafka.ulimit_file %>
LimitNOFILE=<%= node.kafka.ulimit_file %>
<% end %>

[Install]
WantedBy=multi-user.target

Set open file handles limit on systemd as well
Set open file handles limit on systemd as well