Use a template for the upstart init and fix the uid/gid