#266: make sure service-name is set before starting whois