File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -90,6 +90,7 @@ install:
9090 # XRootD configuration files
9191 install -p -m 0644 $(XROOTD_CONFIG ) $(DESTDIR ) /$(INSTALL_XROOTD_DIR )
9292 ln -srf $(DESTDIR ) /$(INSTALL_XROOTD_DIR ) /xrootd-stash-cache.cfg $(DESTDIR ) /$(INSTALL_XROOTD_DIR ) /xrootd-stash-cache-auth.cfg
93+ ln -srf $(DESTDIR ) /$(INSTALL_XROOTD_DIR ) /xrootd-stash-origin.cfg $(DESTDIR ) /$(INSTALL_XROOTD_DIR ) /xrootd-stash-origin-auth.cfg
9394 mkdir -p $(DESTDIR ) /$(INSTALL_XROOTD_DIR ) /config.d
9495 install -p -m 0644 $(XROOTD_CONFIGD ) $(DESTDIR ) /$(INSTALL_XROOTD_DIR ) /config.d
9596 # systemd unit files
Original file line number Diff line number Diff line change 2121# By default, we set this to the OSG Data Federation
2222all.manager redirector.osgstorage.org+ 1213
2323#
24- # Alternately, use the following line for a test sesrver
24+ # Alternately, use the following line for a test server
2525#
2626# all.manager redirector-itb.osgstorage.org+ 1213
2727
2828
2929# A few reasonable defaults for the origin server.
30- xrd.port 1094
30+ if named stash-origin-auth
31+ xrd.port 1095
32+ else
33+ xrd.port 1094
34+ fi
35+
3136all.role server
3237
3338
Original file line number Diff line number Diff line change 11Name: xcache
22Summary: XCache scripts and configurations
33Version: 1.0.0
4- Release: 0.rc1 %{?dist }
4+ Release: 0.rc2 %{?dist }
55License: Apache 2.0
66Group: Grid
77URL: https://opensciencegrid.org/docs/
@@ -104,6 +104,7 @@ mkdir -p %{buildroot}%{_sysconfdir}/grid-security/xrd
104104
105105%files -n stash-origin
106106%config %{_sysconfdir }/xrootd/xrootd-stash-origin.cfg
107+ %config %{_sysconfdir }/xrootd/xrootd-stash-origin-auth.cfg
107108%config %{_sysconfdir }/xrootd/config.d/50-stash-origin-authz.cfg
108109%config %{_sysconfdir }/xrootd/config.d/50-stash-origin-paths.cfg
109110%config(noreplace) %{_sysconfdir }/xrootd/config.d/10-origin-site-local.cfg
You can’t perform that action at this time.
0 commit comments