Label <%= "#{app}-#{name}-#{num}" %> EnvironmentVariables <%- engine.env.merge("PORT" => port).each_pair do |var,env| -%> <%= var.upcase %> <%= env %> <%- end -%> ProgramArguments <%- command_args.each do |command| -%> <%= command %> <%- end -%> KeepAlive RunAtLoad StandardOutPath <%= log %>/<%= app %>-<%= name %>-<%=num%>.log StandardErrorPath <%= log %>/<%= app %>-<%= name %>-<%=num%>.log UserName <%= user %> WorkingDirectory <%= engine.root %>