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

cta-rmcd rpm running given the device file of the tape library

parent fe23ae53
No related branches found
No related tags found
No related merge requests found
......@@ -307,7 +307,7 @@ Tools to faciliate working with rmcd and smc in cta
#%attr(0755,root,root) %{_bindir}/cta-rmcd
%attr(0755,root,root) %{_bindir}/smc
%attr(0755,cta,cta) %dir /var/log/cta
%attr(0644,root,root) %doc /usr/share/man/man1/rmcd.1cta.gz
%attr(0644,root,root) %doc /usr/share/man/man1/cta-rmcd.1cta.gz
%attr(0644,root,root) %doc /usr/share/man/man1/smc.1cta.gz
%attr(0644,root,root) %config(noreplace) %{_sysconfdir}/cta/cta-rmcd.conf
%attr(0644,root,root) %config(noreplace) %{_sysconfdir}/cta/cta-smc.conf.example
......
......@@ -34,8 +34,8 @@ install (FILES cta-rmcd.conf DESTINATION ${CMAKE_INSTALL_SYSCONFDIR}/cta)
install (FILES cta-smc.conf.example DESTINATION ${CMAKE_INSTALL_SYSCONFDIR}/cta)
install (TARGETS cta-rmcd DESTINATION /usr/bin)
#install (FILES ${CMAKE_CURRENT_SOURCE_DIR}/rmcd.1cta DESTINATION /usr/share/man/man1)
install (FILES rmcd.1cta DESTINATION /usr/share/man/man1)
#install (FILES ${CMAKE_CURRENT_SOURCE_DIR}/cta-rmcd.1cta DESTINATION /usr/share/man/man1)
install (FILES cta-rmcd.1cta DESTINATION /usr/share/man/man1)
install (FILES cta-rmcd.logrotate DESTINATION /etc/logrotate.d RENAME cta-rmcd)
install (FILES cta-rmcd.sysconfig DESTINATION /etc/sysconfig RENAME cta-rmcd)
install (FILES cta-rmcd.service DESTINATION /etc/systemd/system)
......
......@@ -3,14 +3,14 @@
.\"
.TH RMCD "8castor" "$Date: 2009/08/18 09:43:01 $" CASTOR "rmc Administrator Commands"
.SH NAME
rmcd \- start the Remote Media Changer daemon
cta-rmcd \- start the Remote Media Changer daemon
.SH SYNOPSIS
.B rmcd
.B cta-rmcd
.I smc_ldr
.SH DESCRIPTION
.LP
The
.B rmcd
.B cta-rmcd
command starts the Remote Media Changer daemon.
This command is usually executed at system startup time
.RB ( /etc/rc.local ).
......
......@@ -230,7 +230,7 @@ int main(const int argc,
switch(argc) {
case 1:
fprintf(stderr, "RMC01 - robot parameter is mandatory\n");
fprintf(stderr, "RMC01 - wrong arguments given ,specify the device file of the tape library\n");
exit (USERR);
case 2:
if(0 == nb_cmdline_options) {
......
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