Better handling of Ubuntu upstart service.