Add wait option to upstart template.