# {{name}}.conf

description "{{description}}"

start on {{start}}
stop on {{stop}}
{{#if user}}
setuid {{user}}
{{/if}}
{{#if files}}
limit nofile {{files}} {{files}}
{{/if}}
{{#if log}}
console log
{{/if}}
script
  {{#if cwd}}
  mkdir -p {{cwd}}
  cd {{cwd}}
  {{/if}}
  {{cmd}}
end script
{{#if respawn}}
respawn
{{/if}}
