#!upstart
description "Mailcatcher SMTP dev tool"

start on startup
stop on shutdown

exec mailcatcher --http-ip="<%= node['mailcatcher']['http_ip'] %>" --foreground

#!upstart
description "Mailcatcher SMTP dev tool"

start on startup
stop on shutdown

exec <%= File.join Gem.bindir, 'mailcatcher' %> --http-ip="<%= node['mailcatcher']['http_ip'] %>" --foreground

Use the full path for the mailcatcher gem binary
Use the full path for the mailcatcher gem binary
