mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-13 06:03:37 +02:00
2021-05-28 Fred Gleason <fredg@paravelsystems.com>
* Added an 'RDProcess::prettyCommandString()' method. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
@@ -21728,3 +21728,5 @@
|
|||||||
* Added syslog DEBUG messages around the start/stop of ephemeral
|
* Added syslog DEBUG messages around the start/stop of ephemeral
|
||||||
processes in rdservice(8).
|
processes in rdservice(8).
|
||||||
* Added an '--initial-maintenance' switch to rdservice(8).
|
* Added an '--initial-maintenance' switch to rdservice(8).
|
||||||
|
2021-05-28 Fred Gleason <fredg@paravelsystems.com>
|
||||||
|
* Added an 'RDProcess::prettyCommandString()' method.
|
||||||
|
@@ -90,6 +90,19 @@
|
|||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
|
<varlistentry>
|
||||||
|
<term>
|
||||||
|
<option>--force-service-maintenance</option>
|
||||||
|
</term>
|
||||||
|
<listitem>
|
||||||
|
<para>
|
||||||
|
Force the initial maintenance run to include System maintenance,
|
||||||
|
even if the scheduling algorithm doesn't call for it. (Useless
|
||||||
|
except for debugging).
|
||||||
|
</para>
|
||||||
|
</listitem>
|
||||||
|
</varlistentry>
|
||||||
|
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
<term>
|
<term>
|
||||||
<option>--initial-maintenance-interval=<replaceable>interval</replaceable></option>
|
<option>--initial-maintenance-interval=<replaceable>interval</replaceable></option>
|
||||||
@@ -98,6 +111,7 @@
|
|||||||
<para>
|
<para>
|
||||||
Schedule the initial maintenance run to be started
|
Schedule the initial maintenance run to be started
|
||||||
<replaceable>interval</replaceable> milliseconds after startup.
|
<replaceable>interval</replaceable> milliseconds after startup.
|
||||||
|
(Useless except for debugging).
|
||||||
</para>
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
@@ -60,6 +60,12 @@ QStringList RDProcess::arguments() const
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
QString RDProcess::prettyCommandString() const
|
||||||
|
{
|
||||||
|
return (p_program.trimmed()+" "+p_arguments.join(" ")).trimmed();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
void RDProcess::setProcessEnvironment(const QProcessEnvironment &env)
|
void RDProcess::setProcessEnvironment(const QProcessEnvironment &env)
|
||||||
{
|
{
|
||||||
p_process->setProcessEnvironment(env);
|
p_process->setProcessEnvironment(env);
|
||||||
|
@@ -33,6 +33,7 @@ class RDProcess : public QObject
|
|||||||
QProcess *process() const;
|
QProcess *process() const;
|
||||||
QString program() const;
|
QString program() const;
|
||||||
QStringList arguments() const;
|
QStringList arguments() const;
|
||||||
|
QString prettyCommandString() const;
|
||||||
void setProcessEnvironment(const QProcessEnvironment &env);
|
void setProcessEnvironment(const QProcessEnvironment &env);
|
||||||
void start(const QString &program,const QStringList &args);
|
void start(const QString &program,const QStringList &args);
|
||||||
QString errorText() const;
|
QString errorText() const;
|
||||||
|
Reference in New Issue
Block a user