【文件属性】:
文件名称:caddy-supervisor:从Caddy运行和监督后台进程
文件大小:28KB
文件格式:ZIP
更新时间:2021-05-20 16:30:40
Go
球童主管
介绍
该插件使caddy可以运行和监督后台进程。
这个怎么运作
对于每个主管球童指令,命令都会在后台执行,并在球童停止时终止。
您可以将超级用户插件用作http指令或服务器类型。
主管http指令
您可以使用以下方法直接从网络Caddyfile激活主管:
supervisor command arg1 arg2 arg3
或者使用块进行更多控制
supervisor {
command command
args arg1 arg2 arg3
dir directory
env VARIABLEA VALUEA
env VARIABLEB VALUEB
redirect_stdout file
redirect_stderr file
restart_policy policy
termination_grace_period perio