update server-control.ts

This commit is contained in:
2026-02-01 01:05:15 +08:00
parent 015a7d1581
commit 23fd23bb75

View File

@@ -4,15 +4,16 @@
import { import {
execCommand, execCommand,
execCommandShell,
fetchWithTimeout, fetchWithTimeout,
log, log,
ProcessBar, ProcessBar,
readFileToString,
sleep, sleep,
} from "https://global.hatter.ink/script/get/@24/deno-commons-mod.ts"; } from "https://global.hatter.ink/script/get/@24/deno-commons-mod.ts";
import {assertEquals} from "jsr:@std/assert"; import {assertEquals} from "jsr:@std/assert";
import {assert} from "jsr:@std/assert/assert"; import {assert} from "jsr:@std/assert/assert";
import {fromFileUrl} from "https://deno.land/std/path/mod.ts"; import {fromFileUrl} from "https://deno.land/std/path/mod.ts";
import {execCommandShell, readFileToString,} from "../libraries/deno-commons-mod.ts";
interface HealthCheck { interface HealthCheck {
url?: string; url?: string;