Skip to content

Commit

Permalink
Don't upcase env names for daemon processes
Browse files Browse the repository at this point in the history
  • Loading branch information
amasses authored Oct 16, 2017
1 parent 0e35452 commit 1b48ebe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data/export/daemon/process.conf.erb
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ stop on stopping <%= app %>-<%= name.gsub('_', '-') %>
respawn

env PORT=<%= port %><% engine.env.each_pair do |var, env| %>
env <%= var.upcase %>=<%= env %><% end %>
env <%= var %>=<%= env %><% end %>

exec start-stop-daemon --start --chuid <%= user %> --chdir <%= engine.root %> --make-pidfile --pidfile <%= run %>/<%= app %>-<%= name %>-<%= num %>.pid --exec <%= executable %><%= arguments %> >> <%= log %>/<%= app %>-<%= name %>-<%= num %>.log 2>&1

0 comments on commit 1b48ebe

Please sign in to comment.