$serverSecret, 'MONZERO_STATS_INGEST_TOKEN' => $ingestToken, 'MONZERO_STATS_FILE' => $dataPath, ], true) . ";\n"; if (file_put_contents($configPath, $config, LOCK_EX) === false) { fwrite(STDERR, "Unable to create configuration.\n"); exit(1); } chmod($configPath, 0600); fwrite(STDOUT, "Configuration created. Team ingest token (save privately):\n{$ingestToken}\n");