mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2026-01-12 07:35:55 +01:00
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:
@@ -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\
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -26,7 +26,6 @@
|
||||
#include <qobject.h>
|
||||
#include <qtimer.h>
|
||||
|
||||
#include <rdcheck_daemons.h>
|
||||
#include <rdconfig.h>
|
||||
|
||||
#include "replfactory.h"
|
||||
|
||||
Reference in New Issue
Block a user