2021-07-08 Fred Gleason <fredg@paravelsystems.com>

* Modified rdservice(8) to log the startup command-line for all
	dropboxes at DEBUG priority.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason 2021-07-08 12:59:16 -04:00
parent 99c4562b88
commit 2f1e4ba41f
2 changed files with 8 additions and 0 deletions

View File

@ -22023,3 +22023,6 @@
2021-07-08 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in rdvairplayd(8) that caused a SQL error to be
generated at startup.
2021-07-08 Fred Gleason <fredg@paravelsystems.com>
* Modified rdservice(8) to log the startup command-line for all
dropboxes at DEBUG priority.

View File

@ -329,6 +329,11 @@ bool MainObject::StartDropboxes(QString *err_msg)
args.push_back(q->value(1).toString());
args.push_back(q->value(2).toString());
rda->syslog(LOG_DEBUG,"starting dropbox %d using command: \"%s\"",
q->value(0).toInt(),
(QString(RD_PREFIX)+"/bin/rdimport "+
args.join(" ")).toUtf8().constData());
svc_processes[id]=new RDProcess(id,this);
svc_processes[id]->start(QString(RD_PREFIX)+"/bin/rdimport",args);
if(!svc_processes[id]->process()->waitForStarted(-1)) {