diff --git a/rdap/rdap.php b/rdap/rdap.php index 3639e96..ddc4da6 100644 --- a/rdap/rdap.php +++ b/rdap/rdap.php @@ -33,6 +33,13 @@ function mapContactToVCard($contactDetails, $role) { // Create a Swoole HTTP server $http = new Swoole\Http\Server('0.0.0.0', 7500); +$http->set([ + 'daemonize' => false, + 'log_file' => '/var/log/rdap/rdap.log', + 'log_level' => SWOOLE_LOG_INFO, + 'worker_num' => swoole_cpu_num() * 2, + 'pid_file' => '/var/log/rdap/rdap.pid' +]); // Register a callback to handle incoming requests $http->on('request', function ($request, $response) {