-
Notifications
You must be signed in to change notification settings - Fork 149
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Packaging] Add a sample XrdHttp config file.
- Loading branch information
1 parent
697eb5d
commit c7e54a5
Showing
2 changed files
with
42 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
########################################################################### | ||
# This is a very simple sample configuration file sufficient to start an # | ||
# xrootd data server using the default port 1094 plus http protocol on # | ||
# port 80. This server runs by itself (stand-alone) and does not assume # | ||
# it is part of a cluster. You can then connect to this server to access # | ||
# files in '/tmp'. Consult the the reference manuals on how to create # | ||
# more complicated configurations and set the host cert and key for http. # | ||
# # | ||
# On successful start-up you will see 'initialization completed' in the # | ||
# last message. You can now connect to the xrootd server. # | ||
# # | ||
# Note: You should always create a *single* configuration file for all # | ||
# daemons related to xrootd. # | ||
########################################################################### | ||
|
||
# The export directive indicates which paths are to be exported. While the | ||
# default is '/tmp', we indicate it anyway to show you this directive. | ||
# | ||
all.export /tmp | ||
|
||
# The adminpath and pidpath variables indicate where the pid and various | ||
# IPC files should be placed | ||
# | ||
all.adminpath /var/spool/xrootd | ||
all.pidpath /var/run/xrootd | ||
|
||
# Load the http protocol, indicate that it should be seved on port 80. | ||
# The socket bound to port 80 has to be preallocated by the systemd | ||
# xrdhttp.socket (requires systemd!). | ||
# | ||
# In order to enable the xrdhttp.socket run: | ||
# systemd enable xrdhttp.socket | ||
# In order to start the xrdhttp.socket run: | ||
# systemd start xrdhttp.socket | ||
# | ||
xrd.protocol XrdHttp:80 /usr/lib64/libXrdHttp-4.so |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters