Commit 21ec95e8 authored by Steven Murray's avatar Steven Murray
Browse files

Added and packaged /etc/cta/TPCONFIG

parent fa446ace
...@@ -135,6 +135,7 @@ The tape server daemon ...@@ -135,6 +135,7 @@ The tape server daemon
%attr(0644,root,root) %config(noreplace) /etc/logrotate.d/cta-taped %attr(0644,root,root) %config(noreplace) /etc/logrotate.d/cta-taped
%attr(0755,root,root) %{_bindir}/cta-taped %attr(0755,root,root) %{_bindir}/cta-taped
%attr(0644,root,root) %config(noreplace) %{_sysconfdir}/cta/cta.conf.example %attr(0644,root,root) %config(noreplace) %{_sysconfdir}/cta/cta.conf.example
%attr(0644,root,root) %config(noreplace) %{_sysconfdir}/cta/TPCONFIG.example
%attr(0644,root,root) %doc /usr/share/man/man1/cta-taped.1cta.gz %attr(0644,root,root) %doc /usr/share/man/man1/cta-taped.1cta.gz
%attr(0644,root,root) /etc/sysconfig/cta-taped %attr(0644,root,root) /etc/sysconfig/cta-taped
%attr(0644,root,root) /etc/systemd/system/cta-taped.service %attr(0644,root,root) /etc/systemd/system/cta-taped.service
......
...@@ -13,6 +13,7 @@ add_executable (cta-taped cta-taped.cpp) ...@@ -13,6 +13,7 @@ add_executable (cta-taped cta-taped.cpp)
target_link_libraries(cta-taped target_link_libraries(cta-taped
ctatapedaemon ctacommon protobuf) ctatapedaemon ctacommon protobuf)
install (TARGETS cta-taped DESTINATION usr/bin) install (TARGETS cta-taped DESTINATION usr/bin)
install (FILES TPCONFIG.example DESTINATION /etc/cta)
install (FILES cta-taped.1cta DESTINATION /usr/share/man/man1) install (FILES cta-taped.1cta DESTINATION /usr/share/man/man1)
install (FILES cta-taped.logrotate DESTINATION /etc/logrotate.d RENAME cta-taped) install (FILES cta-taped.logrotate DESTINATION /etc/logrotate.d RENAME cta-taped)
install (FILES cta-taped.sysconfig DESTINATION /etc/sysconfig RENAME cta-taped) install (FILES cta-taped.sysconfig DESTINATION /etc/sysconfig RENAME cta-taped)
......
# The CERN Tape Archive (CTA) project
# Copyright (C) 2015 CERN
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# Example of a tape configuration file (/etc/cta/TPCONFIG)
#
# A single tape server daemon can control one or two tape drives. There should
# be one line per tape drive. Each line should consist of the following 4
# columns delimited by spaces:
#
# driveName logicalLibraryName driveDevicePath librarySlot
#
# Please modify accordingly the UPPERCASE letters and uncomment the following
# line if you have a tape drive in a SCSI compatible library:
#
# DRIVENAME LOGIGICAL_LIBRARY_NAME /dev/XXXX smcDRIVE_ORDINAL
#
# Please modify accordingly the UPPERCASE letters and uncomment the following
# line if you have a tape drive in an ACS library:
#
# DRIVENAME LOGIGICALi_LIBRARY_NAME /dev/XXXX acsACS_NUMBER,LSM_NUMBER,PANEL_NUMBER,TRANSPORT_NUMBER
Markdown is supported
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