Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

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

Merged
merged 1 commit into from

3 participants

@Kami

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.

@travisbot

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 local_settings.py. Also, added attributes
to set timezone and memcached hosts.  Resolves #2 #3 #4.
dce3bf1
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
View
4 templates/default/statsd.conf.erb
@@ -14,9 +14,9 @@ setuid statsd
script
<% 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.