【文件属性】:
文件名称:moonshine_scout:安装和配置Scout代理
文件大小:9KB
文件格式:ZIP
更新时间:2021-05-19 05:41:38
Ruby
#月光童军
插件,用于安装和管理。
要求
帐户
服务器的代理密钥。 在将服务器添加到Scout时将提供此密钥,该密钥在站点的“服务器管理”部分下也可用。
快速入门说明
script/plugin install git://github.com/railsmachine/moonshine_scout.git
在config/moonshine.yml配置代理密钥
:scout:
:agent_key: YOUR-PRIVATE-SCOUT-KEY
在月光清单中包含插件和配方
recipe :scout
现在,Scout已配置为每3分钟通过cron运行一次。
进阶设定
您可以使用相应的按键来调整运行Scout命令的user及其运行interval :
:scout:
:agent_key: YOUR-PRIVATE-SCOUT-KEY
【文件预览】:
moonshine_scout-master
----recipes()
--------scout.rb(2KB)
----lib()
--------moonshine()
----spec()
--------spec.opts(38B)
--------spec_helper.rb(441B)
--------scout_spec.rb(1KB)
----LICENSE(1KB)
----README.md(3KB)
----moonshine()
--------init.rb(151B)