Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
dCache
cta
Commits
0abcaaa4
Commit
0abcaaa4
authored
Nov 23, 2020
by
Julien Leduc
Browse files
Adding cta-frontend sysconfig management.
parent
ed9613e4
Changes
4
Hide whitespace changes
Inline
Side-by-side
cta.spec.in
View file @
0abcaaa4
...
...
@@ -159,6 +159,7 @@ The xroot plugin
%{_libdir}/libXrdSsiCta.so*
%attr(0644,root,root) %config(noreplace) /etc/logrotate.d/cta-frontend
%attr(0644,root,root) %config(noreplace) %{_sysconfdir}/cta/cta-frontend-xrootd.conf
%attr(0644,root,root) %config(noreplace) /etc/sysconfig/cta-frontend
%attr(0644,cta,tape) /etc/systemd/system/cta-frontend.service
#Frontend installs libraries so we need ldconfig.
...
...
xroot_plugins/CMakeLists.txt
View file @
0abcaaa4
...
...
@@ -48,4 +48,5 @@ endif (OCCI_SUPPORT)
install
(
TARGETS XrdSsiCta DESTINATION usr/
${
CMAKE_INSTALL_LIBDIR
}
)
install
(
FILES cta-frontend-xrootd.conf DESTINATION
${
CMAKE_INSTALL_SYSCONFDIR
}
/cta
)
install
(
FILES cta-frontend.logrotate DESTINATION /etc/logrotate.d RENAME cta-frontend
)
install
(
FILES cta-frontend.sysconfig DESTINATION /etc/sysconfig RENAME cta-frontend
)
install
(
FILES cta-frontend.service DESTINATION /etc/systemd/system
)
xroot_plugins/cta-frontend.service
View file @
0abcaaa4
...
...
@@ -3,6 +3,7 @@ Description=CTA frontend plugin for the XRoot deamon
After
=
network-online.target
[Service]
EnvironmentFile
=
-/etc/sysconfig/cta-frontend
ExecStart
=
/usr/bin/xrootd -l /var/log/cta-frontend-xrootd.log -c /etc/cta/cta-frontend-xrootd.conf -k fifo -n cta
User
=
cta
Type
=
simple
...
...
xroot_plugins/cta-frontend.sysconfig
0 → 100644
View file @
0abcaaa4
# This is to improve SSI parrallel event treatment
XRD_PARALLELEVTLOOP=10
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment