Add a template resource for nginx init script