Skip to content

Commit

Permalink
Move multiuser origin config to an example file
Browse files Browse the repository at this point in the history
  • Loading branch information
brianhlin authored and turetske committed Nov 5, 2024
1 parent fa87b92 commit b3861d1
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,9 @@ nfpms:
- src: "systemd/pelican.logrotate"
dst: "/etc/logrotate.d/pelican"
type: config|noreplace
- src: "systemd/examples/60-origin-multiuser.yaml"
dst: "/etc/pelican/config.d/60-origin-multiuser.yaml"
type: config|noreplace
- src: "systemd/examples/90-debugging.yaml"
dst: "/etc/pelican/config.d/90-debugging.yaml"
type: config|noreplace
Expand Down
15 changes: 15 additions & 0 deletions systemd/examples/60-origin-multiuser.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
#####################################################
# Pelican Origin Multiuser Configuration (OPTIONAL)
#
# Optional configuration that allows a Pelican origin to switch users
# for reads/writes. Enable this configuration if your origin is
# serving POSIX-mounted data that is also accessible from another
# POSIX system (e.g., an HTCondor Access Point)
#####################################################

## If you need Pelican multiuser behavior, uncomment the following
## lines and set both values to 'true'
# Origin:
# Multiuser: false
# ScitokensMapSubject: false
1 change: 0 additions & 1 deletion systemd/osdf-origin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,4 @@ XRootD:

Origin:
NamespacePrefix: "/MY_NAMESPACE"
Multiuser: false
RunLocation: /run/pelican/xrootd/osdf-origin
2 changes: 0 additions & 2 deletions systemd/pelican-origin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,3 @@ Federation:

Origin:
NamespacePrefix: "/MY_NAMESPACE"
## Enable multiuser to support Unix-based file ownership in the objects being served.
# Multiuser: false

0 comments on commit b3861d1

Please sign in to comment.