{
int i;
char *portstr = NULL;
- int opt, pidfile_forced = 0;
+ int opt;
char pidfile[PATH_MAX] = EDG_BKSERVERD_PIDFILE,
*name;
#ifdef GLITE_LB_SERVER_WITH_WS
} break;
case 'X': notif_ilog_socket_path = strdup(optarg); break;
case 'Y': notif_ilog_file_prefix = strdup(optarg); break;
- case 'i': strcpy(pidfile,optarg); pidfile_forced = 1; break;
+ case 'i': strcpy(pidfile,optarg); break;
case 'R': add_root(ctx, optarg, ADMIN_ACCESS); break;
case 'F': msg_conf = strdup(optarg); break;
case 'H': html_header = strdup(optarg); html_header_forced = 1; break;
slaves = 2;
}
- if (!pidfile_forced && geteuid())
- snprintf(pidfile,sizeof pidfile, "%s/glite-lb-bkserverd.pid", getenv("HOME"));
-
fpid = fopen(pidfile,"r");
if ( fpid )
{