1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80
|
[ <%= @name %> ]
path = <%= @path %>
read only = <%= @read_only %>
write only = <%= @write_only %>
list = <%= @list %>
<% if @uid -%>
uid = <%= @uid %>
<% end -%>
<% if @gid -%>
gid = <%= @gid %>
<% end -%>
<% if @numeric_ids -%>
numeric ids = <%= @numeric_ids %>
<% end -%>
<% if @use_chroot -%>
use chroot = <%= @use_chroot %>
<% end -%>
<% if @incoming_chmod -%>
incoming chmod = <%= @incoming_chmod %>
<% end -%>
<% if @outgoing_chmod -%>
outgoing chmod = <%= @outgoing_chmod %>
<% end -%>
<% if @max_connections -%>
max connections = <%= @max_connections %>
<% end -%>
<% if @timeout -%>
timeout = <%= @timeout %>
<% end -%>
<% if Integer(@max_connections) > 0 -%>
lock file = <%= @lock_file %>
<% end -%>
<% if @comment -%>
comment = <%= @comment %>
<% end -%>
<% if @secrets_file -%>
secrets file = <%= @secrets_file %>
<% end -%>
<% if @auth_users -%>
auth users = <%= Array(@auth_users).join(', ')%>
<% end -%>
<% if @hosts_allow -%>
hosts allow = <%= Array(@hosts_allow).join(' ')%>
<% end -%>
<% if @hosts_deny -%>
hosts deny = <%= Array(@hosts_deny).join(' ')%>
<% end -%>
<% if @exclude -%>
exclude = <%= Array(@exclude).join(' ')%>
<% end -%>
<% if @transfer_logging -%>
transfer logging = <%= @transfer_logging %>
<% end -%>
<% if @log_format -%>
log format = <%= @log_format %>
<% end -%>
<% if @refuse_options -%>
refuse options = <%= Array(@refuse_options).join(' ')%>
<% end -%>
<% if @ignore_nonreadable -%>
ignore nonreadable = <%= @ignore_nonreadable %>
<% end -%>
<% if @log_file -%>
log file = <%= @log_file %>
<% end -%>
<% if @include -%>
include = <%= Array(@include).join(' ')%>
<% end -%>
<% if @include_from -%>
include from = <%= @include_from%>
<% end -%>
<% if @exclude -%>
exclude = <%= Array(@exclude).join(' ')%>
<% end -%>
<% if @exclude_from -%>
exclude from = <%= @exclude_from%>
<% end -%>
<% if @dont_compress -%>
dont compress = <%= Array(@dont_compress).join(' ')%>
<% end -%>
|