public static function initSettings()
{
Daemon::$version = file_get_contents('VERSION', true);
Daemon::$config = new Config\Object();
if (!defined('SO_REUSEPORT') && mb_orig_strpos(php_uname('s'), 'BSD') !== false) {
// @TODO: better if-BSD check
define('SO_REUSEPORT', 0x200);
}
}