mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-12-29 16:08:50 +01:00
2022-08-25 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in rdservice(8) that could cause a segfault when started with a previous instance running. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
@@ -20909,3 +20909,6 @@
|
|||||||
* Added an Online Feed Report to rdcastmanager(1).
|
* Added an Online Feed Report to rdcastmanager(1).
|
||||||
2022-08-25 Fred Gleason <fredg@paravelsystems.com>
|
2022-08-25 Fred Gleason <fredg@paravelsystems.com>
|
||||||
* Incremented the package version to 3.6.5int3.
|
* Incremented the package version to 3.6.5int3.
|
||||||
|
2022-08-25 Fred Gleason <fredg@paravelsystems.com>
|
||||||
|
* Fixed a bug in rdservice(8) that could cause a segfault when
|
||||||
|
started with a previous instance running.
|
||||||
|
|||||||
@@ -63,14 +63,6 @@ MainObject::MainObject(QObject *parent)
|
|||||||
svc_startup_target=MainObject::TargetAll;
|
svc_startup_target=MainObject::TargetAll;
|
||||||
svc_force_system_maintenance=false;
|
svc_force_system_maintenance=false;
|
||||||
|
|
||||||
//
|
|
||||||
// Check for prior instance
|
|
||||||
//
|
|
||||||
if(RDGetPids("rdservice").size()>1) {
|
|
||||||
rda->syslog(LOG_ERR,"prior instance found");
|
|
||||||
exit(RDApplication::ExitPriorInstance);
|
|
||||||
}
|
|
||||||
|
|
||||||
//
|
//
|
||||||
// Open the Database
|
// Open the Database
|
||||||
//
|
//
|
||||||
@@ -80,6 +72,15 @@ MainObject::MainObject(QObject *parent)
|
|||||||
(const char *)err_msg.utf8());
|
(const char *)err_msg.utf8());
|
||||||
exit(RDApplication::ExitNoDb);
|
exit(RDApplication::ExitNoDb);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
// Check for prior instance
|
||||||
|
//
|
||||||
|
if(RDGetPids("rdservice").size()>1) {
|
||||||
|
rda->syslog(LOG_ERR,"prior instance found");
|
||||||
|
exit(RDApplication::ExitPriorInstance);
|
||||||
|
}
|
||||||
|
|
||||||
rda->syslog(LOG_DEBUG,"starting up");
|
rda->syslog(LOG_DEBUG,"starting up");
|
||||||
|
|
||||||
//
|
//
|
||||||
|
|||||||
Reference in New Issue
Block a user