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
79e4b4ee
Commit
79e4b4ee
authored
May 22, 2017
by
Steven Murray
Browse files
cta/CTA#107 cta-taped log dir + logrotate
The cta-frontend and cta-taped rpms now create /var/log/cta
parent
02c2839a
Changes
2
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
79e4b4ee
...
...
@@ -113,6 +113,9 @@ ELSE(DEFINED PackageOnly)
message
(
STATUS
"Build cmdline only"
)
add_subdirectory
(
cmdline
)
else
(
BUILD_CMDLINE_ONLY
)
install
(
CODE
"message (STATUS
\"
Installing directory
\$
ENV{DESTDIR}/var/log/cta
\"
)"
)
install
(
CODE
"file (MAKE_DIRECTORY
\$
ENV{DESTDIR}/var/log/cta)"
)
add_subdirectory
(
catalogue
)
add_subdirectory
(
cmdline
)
add_subdirectory
(
common
)
...
...
cta.spec.in
View file @
79e4b4ee
...
...
@@ -131,6 +131,7 @@ The tape server daemon
/usr/bin/getent passwd cta || /usr/sbin/useradd -s /bin/nologin -c "CTA system account" -g cta cta
%files -n cta-taped
%defattr(-,root,root)
%attr(0755,cta,cta) %dir /var/log/cta
%attr(0644,root,root) %config(noreplace) /etc/logrotate.d/cta-taped
%attr(0755,root,root) %{_bindir}/cta-taped
%attr(0644,root,root) %config(noreplace) %{_sysconfdir}/cta/cta.conf.example
...
...
@@ -153,6 +154,7 @@ The xroot plugin
/usr/bin/getent passwd cta || /usr/sbin/useradd -s /bin/nologin -c "CTA system account" -g cta cta
%files -n cta-frontend
%defattr(-,root,root)
%attr(0755,cta,cta) %dir /var/log/cta
%attr(0644,root,root) %config(noreplace) /etc/logrotate.d/cta-frontend
%attr(0755,root,root) %{_libdir}/libXrdCtaOfs.so
%attr(0644,root,root) %config(noreplace) /etc/xrootd/xrootd-cta.cfg
...
...
@@ -276,4 +278,5 @@ Utilities to faciliate working with the mediachangers
%attr(0755,root,root) %{_bindir}/cta-mediachanger-mount
%attr(0644,root,root) %doc /usr/share/man/man1/cta-mediachanger-dismount.1cta.gz
%attr(0644,root,root) %doc /usr/share/man/man1/cta-mediachanger-mount.1cta.gz
%endif
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