fix: improve WSL2 systemd daemon hints
This commit is contained in:
@@ -114,7 +114,9 @@ export async function gatherDaemonStatus(
|
||||
const [loaded, command, runtime] = await Promise.all([
|
||||
service.isLoaded({ env: process.env }).catch(() => false),
|
||||
service.readCommand(process.env).catch(() => null),
|
||||
service.readRuntime(process.env).catch(() => undefined),
|
||||
service
|
||||
.readRuntime(process.env)
|
||||
.catch((err) => ({ status: "unknown", detail: String(err) })),
|
||||
]);
|
||||
const configAudit = await auditGatewayServiceConfig({
|
||||
env: process.env,
|
||||
|
||||
Reference in New Issue
Block a user