Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


Don't use a full path to node binary in the init script. #2

merged 1 commit into from

3 participants


I changed the init script to not use a full path to the node binary because not all of the nodejs cookbooks install node binary into /usr/local/bin.


This pull request passes (merged f2ab6d5 into 7428eaf).

@hectcastro hectcastro merged commit 2ab488f into from
@wayoutmind wayoutmind referenced this pull request from a commit in Dwolla/chef-statsd
@hectcastro Added a template for Also, added attributes
to set timezone and memcached hosts.  Resolves #2 #3 #4.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
Showing with 2 additions and 2 deletions.
  1. +2 −2 templates/default/statsd.conf.erb
4 templates/default/statsd.conf.erb
@@ -14,9 +14,9 @@ setuid statsd
<% if @platform_version < 11.10 -%>
- exec start-stop-daemon --start --chuid statsd --exec /usr/local/bin/node /usr/share/statsd/stats.js /etc/statsd/config.js 2>&1 >> <%= @log_file %>
+ exec start-stop-daemon --start --chuid statsd --exec node /usr/share/statsd/stats.js /etc/statsd/config.js 2>&1 >> <%= @log_file %>
<% else -%>
- exec /usr/local/bin/node /usr/share/statsd/stats.js /etc/statsd/config.js 2>&1 >> <%= @log_file %>
+ exec node /usr/share/statsd/stats.js /etc/statsd/config.js 2>&1 >> <%= @log_file %>
<% end -%>
end script
Something went wrong with that request. Please try again.