CH-J Toolsbainisteoireacht freastalaí SSH
Roghchlár
Foinse foilsithe

CH-J Tools

Brabhsáil comhadlanna agus comhaid chun feidhmchlár áirithe a scaoileadh.

Íosluchtaigh foinse ZIP
CH-J / Server Manager 1704 Comhaid
0.1.2-beta Suimigh: · Tógtha:
apache.ts Suimigh: Dáta gan taifeadadh 1.4 KB · 28 líne
Cód Íosluchtaigh comhad
1/** Apache HTTP Server (`apache.read`, `apache.manage`). */
2import { call } from "../transport";
3import type { Payload } from "../types";
5const command = (name: string, action: string) => (sessionId: string, payload: Payload = {}) => call<Payload>(`module_apache_${name}`, `plugin:apache:${action}`, { ...payload, sessionId });
7export const apache = Object.freeze({
8 inspect: (sessionId: string) => call<Payload>("module_apache_inspect", "plugin:apache:inspect", { sessionId }),
9 inventory: command("inventory", "inventory"),
10 readLog: command("read_log", "readLog"),
11 probeBackends: command("probe_backends", "probeBackends"),
12 readFile: command("read_file", "readFile"),
13 backups: command("backups", "backups"),
14 readBackup: command("read_backup", "readBackup"),
15 planSite: command("plan_site", "planSite"),
16 planEdit: command("plan_edit", "planEdit"),
17 planFix: command("plan_fix", "planFix"),
18 saveFile: command("save_file", "saveFile"),
19 restoreBackup: command("restore_backup", "restoreBackup"),
20 createSite: command("create_site", "createSite"),
21 setSiteEnabled: command("set_site_enabled", "setSiteEnabled"),
22 adoptSite: command("adopt_site", "adoptSite"),
23 dropBrokenLink: command("drop_broken_link", "dropBrokenLink"),
24 setModule: command("set_module", "setModule"),
25 reload: command("reload", "reload"),
26 installCertbot: command("install_certbot", "installCertbot"),
27 issueCertificate: command("issue_certificate", "issueCertificate")
28});
SHA-25645723fa5b1a8202197512d00acdad403159aee70d0dcc3455cc7d34b64bb447c

CH-J Proprietary Software License 1.14 · Tá Foinse ar fáil faoin CH-J Proprietary Software License 1.14. Ní chuireann a infhaighteacht a athrú ar na téarmaí ceadúnais nó cearta breise a dheonú.

Cartlann SHA-256ac8fe790f4ba60fc098f8c985fc2656cfcc6cdc21fb34b30e308a2b54e62258f
Comhaid