diff --git a/bin/spectatord_main.cc b/bin/spectatord_main.cc index 67b7d61..d0c8251 100644 --- a/bin/spectatord_main.cc +++ b/bin/spectatord_main.cc @@ -51,12 +51,12 @@ ABSL_FLAG(PortNumber, statsd_port, PortNumber(8125), "Port number for the statsd socket."); ABSL_FLAG(PortNumber, admin_port, PortNumber(1234), "Port number for the admin server."); -#if defined(__APPLE__) || defined(_WIN32) - ABSL_FLAG(bool, enable_socket, false, +#ifdef __linux__ +ABSL_FLAG(bool, enable_socket, true, "Enable UNIX domain socket support. Default is true on Linux and false " "on MacOS and Windows."); #else - ABSL_FLAG(bool, enable_socket, true, +ABSL_FLAG(bool, enable_socket, false, "Enable UNIX domain socket support. Default is true on Linux and false " "on MacOS and Windows."); #endif