Skip to content
Snippets Groups Projects
Commit 69cca6ea authored by Vladimir Bahyl's avatar Vladimir Bahyl
Browse files

Adding CTA frontend SystemD service file

parent 6dcea5e3
No related branches found
No related tags found
No related merge requests found
......@@ -163,6 +163,7 @@ The xroot plugin
%attr(0644,root,root) %config(noreplace) /etc/logrotate.d/cta-frontend
%attr(0644,root,root) %config(noreplace) /etc/xrootd/xrootd-cta.cfg
%attr(0644,root,root) %config(noreplace) %{_sysconfdir}/cta/cta-frontend.conf
%attr(0644,cta,cta) /etc/systemd/system/cta-frontend.service
#Frontend installs libraries so we need ldconfig.
%post -n cta-frontend -p /sbin/ldconfig
......
[Unit]
Description=CTA frontend plugin for the XRoot deamon
After=network-online.target
[Service]
ExecStart=/usr/bin/xrootd -l /var/log/cta-frontend-xrootd.log -c /etc/cta/cta-frontend-xrootd.conf -k fifo -n cta
User=cta
Group=cta
Type=simple
Restart=no
LimitCORE=infinity
LimitNOFILE=65536
[Install]
WantedBy=default.target
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment