2018-08-10 Fred Gleason <fredg@paravelsystems.com>

* Changed installation location of caed(8), ripcd(8), rdcatchd(8)
	and rdrepld(8) from '@prefix@/bin' to '@prefix@/sbin'.
	* Removed code to detach from controlling terminal after startup
	from caed(8), ripcd(8), rdcatchd(8)
	and rdrepld(8).
	* Removed code to manage dropbox instances from rdcatchd(8).
	* Removed code to start service daemons automatically from
	user modules.
	* Added rdservice(8).
This commit is contained in:
Fred Gleason
2018-08-10 06:09:16 -04:00
parent 523c93c461
commit 223bdc2f84
53 changed files with 986 additions and 526 deletions

View File

@@ -26,7 +26,7 @@ MOC = @QT_MOC@
moc_%.cpp: %.h
$(MOC) $< -o $@
bin_PROGRAMS = rdrepld
sbin_PROGRAMS = rdrepld
dist_rdrepld_SOURCES = rdrepld.cpp rdrepld.h \
replconfig.cpp replconfig.h\
replfactory.cpp replfactory.h\

View File

@@ -65,14 +65,6 @@ MainObject::MainObject(QObject *parent)
debug=false;
//
// Make sure we're the only instance running
//
if(RDCheckDaemon(RD_RDREPLD_PID)) {
printf("rdrepld: aborting - multiple instances not allowed");
exit(1);
}
//
// Open the Database
//
@@ -106,13 +98,7 @@ MainObject::MainObject(QObject *parent)
// SIGNAL(logText(RDConfig::LogPriority,const QString &)),
// this,SLOT(log(RDConfig::LogPriority,const QString &)));
//
// Detach
//
if(qApp->argc()==1) {
RDDetach(rda->config()->logCoreDumpDirectory());
}
else {
if(qApp->argc()!=1) {
debug=true;
}

View File

@@ -26,7 +26,6 @@
#include <qobject.h>
#include <qtimer.h>
#include <rdcheck_daemons.h>
#include <rdconfig.h>
#include "replfactory.h"