fix supervisord export for environments containing commas
This commit is contained in:
@@ -23,4 +23,12 @@ class Foreman::Export::Supervisord < Foreman::Export::Base
|
||||
write_file "#{location}/#{app}.conf", app_config
|
||||
end
|
||||
|
||||
def wrap_environment env
|
||||
if env.index(',').nil?
|
||||
env
|
||||
else
|
||||
"\"#{env}\""
|
||||
end
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user