use app name in log root for inittab export
This commit is contained in:
committed by
David Dollar
parent
2b90c48eb4
commit
92ba6e0ba7
@@ -5,7 +5,7 @@ class Foreman::Export::Inittab < Foreman::Export::Base
|
||||
def export(fname=nil, options={})
|
||||
app = options[:app] || File.basename(engine.directory)
|
||||
user = options[:user] || app
|
||||
log_root = options[:log] || "/var/log"
|
||||
log_root = options[:log] || "/var/log/#{app}"
|
||||
|
||||
concurrency = parse_concurrency(options[:concurrency])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user