Check status of nginx service before starting it