2023-06-29 Fred Gleason <fredg@paravelsystems.com>

* Added a 'RDCoreApplication::isUniqueProcess()' static method.
	* Added processuniqueness checks to caed(8), rdairplay(1),
	rdrepld(8), rdrssd(8), rdservice(8), rdvairplayd(8), ripcd(8) and
	rdalsaconfig(8).

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason
2023-06-29 14:54:48 -04:00
parent 6e5c13fc38
commit c92b4dc703
55 changed files with 134 additions and 87 deletions

View File

@@ -2,7 +2,7 @@
//
// Rivendell web service portal
//
// (C) Copyright 2010-2021 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2010-2023 Fred Gleason <fredg@paravelsystems.com>
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
@@ -51,7 +51,7 @@ Xport::Xport(QObject *parent)
//
rda=static_cast<RDApplication *>(new RDCoreApplication("rdxport.cgi",
"rdxport.cgi",RDXPORT_CGI_USAGE,false,this));
if(!rda->open(&err_msg,NULL,false)) {
if(!rda->open(&err_msg,NULL,false,false)) {
printf("Content-type: text/html\n");
printf("Status: 500\n");
printf("\n");

View File

@@ -2,7 +2,7 @@
//
// Rivendell upload/download utility
//
// (C) Copyright 2018-2022 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2018-2023 Fred Gleason <fredg@paravelsystems.com>
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
@@ -52,7 +52,7 @@ MainObject::MainObject(QObject *parent)
//
rda=static_cast<RDApplication *>(new RDCoreApplication("webget.cgi",
"webget.cgi",WEBGET_CGI_USAGE,false,this));
if(!rda->open(&err_msg,NULL,true)) {
if(!rda->open(&err_msg,NULL,true,false)) {
TextExit(err_msg,500,LINE_NUMBER);
}