/chef-forever

Chef cookbook for setting up node apps using forever.

Primary LanguageShellMIT LicenseMIT

chef-forever

Chef cookbook for running node apps using forever.

Installation

Easiest way to install this cookbook is to use librarian-chef.

Add this to your Cheffile:

cookbook 'forever',
  :git => 'https://github.com/trabian/chef-forever'

There are of course many other ways.

Usage

include_recipe "forever"

forever_service "statsd" do
  user 'statsd'
  group 'statsd'
  path "/web/statsd"
  script "stats.js"
  script_options "myConfig.js"
  description "Simple daemon for easy stats aggregation."
  action [ :enable, :start ]
end

License and Author

License: MIT

Author: David Radcliffe