Commit 7e7afd10 authored by Dennis Waldron's avatar Dennis Waldron Committed by Steven Murray
Browse files

Implemented: #53937: RFE: Replacement of the DLF transfer protocol by syslog

parent c1e78193
......@@ -2,12 +2,12 @@ COMM
COMM Copyright (C) 2001-2002 by CERN/IT/PDP/DM
COMM All rights reserved
COMM
COMM @(#)$RCSfile: Imakefile,v $ $Revision: 1.7 $ $Date: 2009/07/23 12:22:04 $ CERN IT-PDP/DM Jean-Philippe Baud
COMM @(#)$RCSfile: Imakefile,v $ $Revision: 1.8 $ $Date: 2009/08/18 09:43:01 $ CERN IT-PDP/DM Jean-Philippe Baud
COMM Make SCSI media changer server programs.
COMM Make SCSI media changer server programs.
SPOOL = /var/spool/rfio
CFLAGS = -I../h $(MTCCFLAGS) -DBIN=\"$(BIN)\" -DLOGFILE=\"$(SPOOL)/log\"
LOGDIR = /var/log/castor
CFLAGS = -I../h $(MTCCFLAGS) -DBIN=\"$(BIN)\" -DLOGFILE=\"$(LOGDIR)/rmcd.log\"
DependsOnLibrary(common,castorcommon)
DependsOnLibrary(upv,castorupv)
......@@ -17,9 +17,8 @@ DependsOnLibrary(tape,castortape)
RMCD_OBJS = rmc_serv.Osuf rmc_procreq.Osuf rmclogit.Osuf sendrep.Osuf usrmsg.Osuf
OPSGRP = OperatorGid
TapeProgramTarget(rmcd,$(RMCD_OBJS),$(DEPLIB),$(LIBS),750)
MakeDir($(SPOOL),0755)
ADMMANPAGE(rmcd)
MakeDir(/var/spool/rmc,0755)
MakeDir($(LOGDIR),0755)
LOGROTATE(castor-rmc-server,..,installtape)
SYSCONFIG(rmcd,installtape)
INITSCRIPT(rmcd,installtape)
......
......@@ -19,7 +19,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#
# @(#)$RCSfile: rmcd.init,v $ $Revision: 1.1 $ $Release$ $Date: 2009/07/23 12:18:46 $ $Author: waldron $
# @(#)$RCSfile: rmcd.init,v $ $Revision: 1.2 $ $Release$ $Date: 2009/08/18 09:43:01 $ $Author: waldron $
#
# chkconfig: 345 71 34
# description: RMC server daemon
......@@ -46,7 +46,7 @@ start() {
# Run daemon
echo -n $"Starting $prog: "
cd /var/spool/rmc
cd /var/log/castor
daemon /usr/bin/$prog $RMCD_OPTIONS
# Write the pid to a file.
......
.\" @(#)$RCSfile: rmcd.man,v $ $Revision: 1.1 $ $Date: 2009/07/23 12:18:46 $ CERN IT-PDP/DM Jean-Philippe Baud
.\" @(#)$RCSfile: rmcd.man,v $ $Revision: 1.2 $ $Date: 2009/08/18 09:43:01 $ CERN IT-PDP/DM Jean-Philippe Baud
.\" Copyright (C) 2002 by CERN/IT/PDP/DM
.\" All rights reserved
.\"
.TH RMCD 8 "$Date: 2009/07/23 12:18:46 $" CASTOR "rmc Administrator Commands"
.TH RMCD 8 "$Date: 2009/08/18 09:43:01 $" CASTOR "rmc Administrator Commands"
.SH NAME
rmcd \- start the Remote Media Changer daemon
.SH SYNOPSIS
......@@ -83,7 +83,7 @@ itself.
The completion code of the command is also logged.
.SH FILES
.TP 1.5i
.B /var/spool/rmc/log
.B /var/log/castor/rmcd.log
.SH EXAMPLES
.TP
Here is a small log:
......
Supports Markdown
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