[PATCH 3/4] service: Added a compile config for online check