Skip to content
This repository has been archived by the owner on Oct 16, 2018. It is now read-only.

tjl2/ey-script-wrapper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ey-script-wrapper

This cookbook is an example that can be used to if you have a script or rake task that needs to be run like a daemon and will enable you to monitor it with monit.

Installation

  • Clone this repo, then copy this directory into your custom cookbooks directory.

  • Change the variables at the top of recipes/default.rb to match your command name, command to run and app name.

  • You may also need to modify the run_in_background variable depending on whether the script runs as a daemon or not.

  • Then edit your custom cookbook main/recipes/default.rb and add

    require_recipe "ey-script-wrapper"

Caveats

  • This script has been written with the assumption that it will run on a util instance. Change line 23 of default.rb if that is not the case.

About

Custom Chef recipe for Engine Yard Cloud

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages