Skip to content

Commit

Permalink
Set $HOME to remedy colinsurprenant/redstorm#89
Browse files Browse the repository at this point in the history
  • Loading branch information
nickmarden committed Sep 9, 2014
1 parent fd300e4 commit ec0e53b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions cookbooks/storm/templates/default/sv-storm_master-run.erb
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ ulimit -n <%= @node[:storm][:master][:file_limit] %>

<%- end %>
cd <%= @node[:storm][:home_dir] %>
export HOME=<%= @node[:storm][:home_dir] %>
exec chpst -u <%= @node[:storm][:user] %> storm nimbus
1 change: 1 addition & 0 deletions cookbooks/storm/templates/default/sv-storm_worker-run.erb
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ ulimit -n <%= @node[:storm][:worker][:file_limit] %>

<%- end %>
cd <%= @node[:storm][:home_dir] %>
export HOME=<%= @node[:storm][:home_dir] %>
exec chpst -u <%= @node[:storm][:user] %> storm supervisor

0 comments on commit ec0e53b

Please sign in to comment.