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 4d9860b commit 82764a7
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 @@ exec 2>&1
<% 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 @@ exec 2>&1
<% end %>

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

0 comments on commit 82764a7

Please sign in to comment.