Skip to content
Snippets Groups Projects
Commit bd444ac2 authored by Anastasia Karachaliou's avatar Anastasia Karachaliou
Browse files

Added configuration files for smc and rmcd in CTA rpms

parent b56b0751
No related branches found
No related tags found
No related merge requests found
......@@ -301,7 +301,8 @@ Tools to faciliate working with rmc and smc in cta
%attr(0755,root,root) %{_bindir}/smc
%attr(0644,root,root) %doc /usr/share/man/man1/rmcd.1cta.gz
%attr(0644,root,root) %doc /usr/share/man/man1/smc.1cta.gz
#%attr(0644,root,root) %config(noreplace) %{_sysconfdir}/cta/rmcd.conf.example
%attr(0644,root,root) %config(noreplace) %{_sysconfdir}/cta/cta-rmcd.conf.example
%attr(0644,root,root) %config(noreplace) %{_sysconfdir}/cta/cta-smc.conf.example
#%package -n cta-smc
#Summary: Tools to faciliate working with smc in cta
......
......@@ -30,10 +30,8 @@ set (RMCD_SRC_FILES
)
add_executable(rmcd ${RMCD_SRC_FILES})
target_link_libraries(rmcd ctarmccommon)
#install (FILES rmcd.conf.example
# DESTINATION ${CMAKE_INSTALL_SYSCONFDIR}/cta
# PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ WORLD_READ)
install (FILES cta-rmcd.conf.example DESTINATION ${CMAKE_INSTALL_SYSCONFDIR}/cta)
install (FILES cta-smc.conf.example DESTINATION ${CMAKE_INSTALL_SYSCONFDIR}/cta)
install (TARGETS rmcd DESTINATION /usr/bin)
install (FILES ${CMAKE_CURRENT_SOURCE_DIR}/rmcd.1cta DESTINATION /usr/share/man/man1)
......
# 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/>.
################################################################################
#
# CTA Sample Configuration File
#
################################################################################
# The log mask. Logs with a level lower than this value will be masked.
# Possible values are:
# EMERG
# ALERT
# CRIT
# ERR
# WARNING
# NOTICE
# INFO
# DEBUG
# USERERR
#
# Please note that the USERERR log level is equivalent to NOTICE because it is
# a convention of CTA to use log level NOTICE to label user errors.
#
# taped LogMask INFO
# 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/>.
################################################################################
#
# CTA Sample Configuration File
#
################################################################################
# The log mask. Logs with a level lower than this value will be masked.
# Possible values are:
# EMERG
# ALERT
# CRIT
# ERR
# WARNING
# NOTICE
# INFO
# DEBUG
# USERERR
#
# Please note that the USERERR log level is equivalent to NOTICE because it is
# a convention of CTA to use log level NOTICE to label user errors.
#
# taped LogMask INFO
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