|
|
|
@ -74,7 +74,11 @@ class JailRegistry < Registry
|
|
|
|
|
templ = Template.new(ROOT_PATH.join("templates/jail.erb")) |
|
|
|
|
properties = jail_properties(jail.name, jail_data) |
|
|
|
|
conf_path = EZJAIL_CONFIG_PATH.join(jail.name) |
|
|
|
|
atomic_write(conf_path, templ.render(name: jail.name, properties: properties)) |
|
|
|
|
atomic_write(conf_path, templ.render(name: jail.name, |
|
|
|
|
properties: properties, |
|
|
|
|
provide: jail_data["provide"], |
|
|
|
|
require_: jail_data["require"], |
|
|
|
|
before: jail_data["before"])) |
|
|
|
|
end |
|
|
|
|
end |
|
|
|
|
|
|
|
|
|