Commit 0abcaaa4 authored by Julien Leduc's avatar Julien Leduc
Browse files

Adding cta-frontend sysconfig management.

parent ed9613e4
......@@ -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.
......
......@@ -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)
......@@ -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
......
# This is to improve SSI parrallel event treatment
XRD_PARALLELEVTLOOP=10
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment