mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-11-26 15:20:29 +01:00
2021-05-28 Fred Gleason <fredg@paravelsystems.com>
* Added an '--force-system-maintenance' switch to rdservice(8). Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
@@ -20765,3 +20765,6 @@
|
|||||||
* Added an 'RDProcess::prettyCommandString()' method.
|
* Added an 'RDProcess::prettyCommandString()' method.
|
||||||
2021-05-28 Fred Gleason <fredg@paravelsystems.com>
|
2021-05-28 Fred Gleason <fredg@paravelsystems.com>
|
||||||
* Added an '--force-system-maintenance' switch to rdservice(8).
|
* Added an '--force-system-maintenance' switch to rdservice(8).
|
||||||
|
2021-05-28 Fred Gleason <fredg@paravelsystems.com>
|
||||||
|
* Modified rdmaint(8) to enable it to operate even when
|
||||||
|
the Rivendell services are not running.
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
//
|
//
|
||||||
// A Utility for running periodic system maintenance.
|
// A Utility for running periodic system maintenance.
|
||||||
//
|
//
|
||||||
// (C) Copyright 2008-2020 Fred Gleason <fredg@paravelsystems.com>
|
// (C) Copyright 2008-2021 Fred Gleason <fredg@paravelsystems.com>
|
||||||
//
|
//
|
||||||
// This program is free software; you can redistribute it and/or modify
|
// 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
|
// it under the terms of the GNU General Public License version 2 as
|
||||||
@@ -60,8 +60,9 @@ MainObject::MainObject(QObject *parent)
|
|||||||
// Open the Database
|
// Open the Database
|
||||||
//
|
//
|
||||||
rda=new RDApplication("rdmaint","rdmaint",RDMAINT_USAGE,this);
|
rda=new RDApplication("rdmaint","rdmaint",RDMAINT_USAGE,this);
|
||||||
if(!rda->open(&err_msg)) {
|
if(!rda->open(&err_msg,NULL,false)) {
|
||||||
fprintf(stderr,"rdmaint: %s\n",(const char *)err_msg);
|
fprintf(stderr,"rdmaint: %s\n",err_msg.toUtf8().constData());
|
||||||
|
rda->syslog(LOG_ERR,"%s",err_msg.toUtf8().constData());
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user