<% if @statsd_host != nil && @statsd_host != "" -%> export STATSD_HOST=<%= @statsd_host %> export STATSD_PORT=8125 <% end -%> <% @environment.keys.sort.each do |key| -%> export <%= key %>='<%= @environment[key] %>' <% end -%> <% if @split_daemon -%> DAEMON_ARGS="--no-builder -c /etc/nodepool/nodepool.yaml -l /etc/nodepool/logging.conf --no-launches --no-deletes" <% else -%> DAEMON_ARGS="--no-builder -c /etc/nodepool/nodepool.yaml -l /etc/nodepool/logging.conf" <% end -%>