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

Adding CTA frontend SystemD service file

parent ca684c26
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