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
69cca6ea
Commit
69cca6ea
authored
Sep 28, 2017
by
Vladimir Bahyl
Browse files
Adding CTA frontend SystemD service file
parent
6dcea5e3
Changes
2
Hide whitespace changes
Inline
Side-by-side
cta.spec.in
View file @
69cca6ea
...
...
@@ -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
...
...
xroot_plugins/cta-frontend.service
0 → 100644
View file @
69cca6ea
[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
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