projects
/
arvados.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
b7c99ef
)
crunch-dispatch preserves LD_LIBRARY_PATH environment variable.
author
Brett Smith <brett@curoverse.com>
Thu, 6 Aug 2015 17:21:09 +0000
(13:21 -0400)
committer
Brett Smith <brett@curoverse.com>
Thu, 6 Aug 2015 17:21:09 +0000
(13:21 -0400)
This helps it run better in environments using Software Collections to
satisfy dependencies. No issue #.
services/api/script/crunch-dispatch.rb
patch
|
blob
|
history
diff --git
a/services/api/script/crunch-dispatch.rb
b/services/api/script/crunch-dispatch.rb
index faba54deb99cc3b3573d70206ef611dc1aa2dfbd..27cb82115b2f7993bce20b7a589bdb62eccad619 100755
(executable)
--- a/
services/api/script/crunch-dispatch.rb
+++ b/
services/api/script/crunch-dispatch.rb
@@
-374,6
+374,7
@@
class Dispatcher
if Server::Application.config.crunch_job_user
cmd_args.unshift("sudo", "-E", "-u",
Server::Application.config.crunch_job_user,
+ "LD_LIBRARY_PATH=#{ENV['LD_LIBRARY_PATH']}",
"PATH=#{ENV['PATH']}",
"PERLLIB=#{ENV['PERLLIB']}",
"PYTHONPATH=#{ENV['PYTHONPATH']}",