fix bug with template that leaves the closing double quote on the wrong line which prevents the service from starting