A plugin Moonshine for installing
and managing the Scout gem.
- A Scout account
- The agent key for your server. This key will be provided at the time you add
your server to Scout, and is also available under the Server Admin section of
the site.
script/plugin install git://github.com/railsmachine/moonshine_scout.git
- Configure agent key in
config/moonshine.yml
:scout:
:agent_key: YOUR-PRIVATE-SCOUT-KEY
- Include the plugin and recipe(s) in your Moonshine manifest
plugin :scout
recipe :scout
Scout is now configured to run via cron every 3 minutes.
You can adjust the user
that runs the Scout command and the interval
at
which it runs by using the respective keys:
:scout: :agent_key: YOUR-PRIVATE-SCOUT-KEY :interval: 15 # defaults to 3 :user: root # defaults to the moonshine user, or 'daemon' if that's not configured