service status returns 0 or 1, added command to return master name (string)