mirror of
https://github.com/Termix-SSH/Termix.git
synced 2026-10-28 14:15:24 +00:00
12 lines
332 B
TypeScript
12 lines
332 B
TypeScript
import type { PluginContext } from "@termix/plugin-sdk/backend";
|
|
import { startFleetsService, stopFleetsService } from "./routes.js";
|
|
|
|
export async function activate(ctx: PluginContext) {
|
|
startFleetsService();
|
|
ctx.log.info("Fleets router registered at /fleets");
|
|
}
|
|
|
|
export async function deactivate() {
|
|
stopFleetsService();
|
|
}
|