Skip to content

Commit

Permalink
fix port name
Browse files Browse the repository at this point in the history
  • Loading branch information
mickenordin committed Nov 16, 2024
1 parent eb9a955 commit 7e7ebe0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
2 changes: 0 additions & 2 deletions templates/xrootd/docker-compose.erb.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
version: "3.7"

services:
xrootd:
image: <%= @container_image %>:<%= @container_tag %>
Expand Down
10 changes: 5 additions & 5 deletions templates/xrootd/xrootd.cfg.erb
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
# Enable the HTTP protocol on port <%= @port %> (1094 is the default XRootD port)
xrd.protocol http:<%= @port %> libXrdHttp.so
xrd.protocol http:<%= @xrootd_port %> libXrdHttp.so

# Allow access to path with given prefix.
all.export <%= @export %>

# Setting up S3 plugin
ofs.osslib libXrdS3-5.so
ofs.osslib libXrdS3.so

# Upon last testing, the plugin did not yet work in async mode
xrootd.async off

# Set the role to either proxy manager or proxy server
all.role = proxy server
# Tell everyone the location of each manager.
# Set the role to either proxy manager or proxy server
<% @managers.each do |manager| -%>
all.role = proxy manager if <%= manager %>
all.manager <%= manager %>
all.role = proxy manager if <%= manager %>
<% end -%>
all.role = proxy server

# Tell the cmsd which machines are allowed to connects
<% @cms_allow_hosts.each do |host| -%>
Expand Down

0 comments on commit 7e7ebe0

Please sign in to comment.