Skip to content
Snippets Groups Projects
Commit b4aa2c7c authored by Victor Kotlyar's avatar Victor Kotlyar
Browse files

Fix configuration path for cta-rmcd and cta-smc

parent e5783924
No related branches found
No related tags found
No related merge requests found
...@@ -55,7 +55,7 @@ setenv RMC_PORT 5014 ...@@ -55,7 +55,7 @@ setenv RMC_PORT 5014
.RE .RE
.LP .LP
an entry in an entry in
.B /etc/castor/castor.conf .B /etc/cta/cta-rmcd.conf
like: like:
.RS .RS
.HP .HP
......
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
#include <sys/stat.h> #include <sys/stat.h>
#include "rmc_send_scsi_cmd.h" #include "rmc_send_scsi_cmd.h"
#define PATH_CONF "cta-rmcd.conf" #define PATH_CONF "/etc/cta/cta-rmcd.conf"
/* Forward declaration */ /* Forward declaration */
static int rmc_getreq(const int s, int *const req_type, char *const req_data, static int rmc_getreq(const int s, int *const req_type, char *const req_data,
......
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
#include "smc_constants.h" #include "smc_constants.h"
#define RBT_XTRA_PROC 10 #define RBT_XTRA_PROC 10
#define PATH_CONF "cta-smc.conf" #define PATH_CONF "/etc/cta/cta-smc.conf"
static struct smc_status smc_status; static struct smc_status smc_status;
static const char *smc_msgaddr; static const char *smc_msgaddr;
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
#include "rmc_constants.h" #include "rmc_constants.h"
#include "serrno.h" #include "serrno.h"
#define PATH_CONF "cta-rmcd.conf" #define PATH_CONF "/etc/cta/cta-rmcd.conf"
/* send2tpd - send a request to the SCSI media changer server and wait for the reply */ /* send2tpd - send a request to the SCSI media changer server and wait for the reply */
int send2rmc( int send2rmc(
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
/* exit codes */ /* exit codes */
#define USERR 1 #define USERR 1
#define PATH_CONF "cta-smc.conf" #define PATH_CONF "/etc/cta/cta-smc.conf"
#define TEXT_RED "\x1b[31;1m" #define TEXT_RED "\x1b[31;1m"
#define TEXT_NORMAL "\x1b[0m" #define TEXT_NORMAL "\x1b[0m"
......
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