Merge pull request #16 from undefined-moe/patch-2

typo
This commit is contained in:
Yang Gao 2021-08-17 10:35:12 -07:00 committed by GitHub
commit 323b21a982
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -33,8 +33,8 @@
- /file/:fileId DELETE 删除文件 ID 指定的文件
- /ws /run 接口的 WebSocket 版
- /metrics 提供 prometheus 版监控 (使用 `ES_ENABLE_METRICS=1` 环境变量开启)
- /debug 提供 go 语调试接口 (使用 `ES_ENABLE_DEBUG=1` 环境变量开启)
- /version 得到本程序编译版本和 go 语运行时版本
- /debug 提供 go 语调试接口 (使用 `ES_ENABLE_DEBUG=1` 环境变量开启)
- /version 得到本程序编译版本和 go 语运行时版本
### 命令行参数
@ -67,12 +67,12 @@
- 使用 `-pre-fork` 指定启动时创建的容器数量
- 使用 `-tmp-fs-param` 指定容器内 `tmpfs` 的挂载参数(仅 Linux
- 使用 `-file-timeout` 指定文件存储文件最大时间。超出时间的文件将会删除。(举例 `30m`
- 使用`-mount-conf` 指定沙箱文件系统挂载细节,详细请参见 `mount.yaml` (仅 Linux)
- 使用 `-mount-conf` 指定沙箱文件系统挂载细节,详细请参见 `mount.yaml` (仅 Linux)
- 使用 `-container-init-path` 指定 `cinit` 路径 (请不要使用,仅 debug) (Linux only)
### 环境变量
命令行参数都可以通过环境变量的形式来指定,(类似 `ES_HTTP_ADDR` 来指定 `-http-addr`)。使用 `executorserver --help` 查看所环境变量
命令行参数都可以通过环境变量的形式来指定,(类似 `ES_HTTP_ADDR` 来指定 `-http-addr`)。使用 `executorserver --help` 查看所环境变量
### 安装和运行