mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2026-01-11 15:16:07 +01:00
2018-08-13 Fred Gleason <fredg@paravelsystems.com>
* Moved execution of maintenance routines from ripcd(8) to rdservice(8).
This commit is contained in:
@@ -33,7 +33,10 @@
|
||||
#define RDSERVICE_RDCATCHD_ID 2
|
||||
#define RDSERVICE_RDVAIRPLAYD_ID 3
|
||||
#define RDSERVICE_RDREPLD_ID 4
|
||||
#define RDSERVICE_LAST_ID 5
|
||||
#define RDSERVICE_LOCALMAINT_ID 5
|
||||
#define RDSERVICE_SYSTEMMAINT_ID 6
|
||||
#define RDSERVICE_PURGECASTS_ID 7
|
||||
#define RDSERVICE_LAST_ID 8
|
||||
#define RDSERVICE_FIRST_DROPBOX_ID 100
|
||||
|
||||
class MainObject : public QObject
|
||||
@@ -44,6 +47,7 @@ class MainObject : public QObject
|
||||
|
||||
private slots:
|
||||
void processFinishedData(int id);
|
||||
void checkMaintData();
|
||||
void exitData();
|
||||
|
||||
private:
|
||||
@@ -52,7 +56,13 @@ class MainObject : public QObject
|
||||
void KillProgram(const QString &program);
|
||||
void Shutdown();
|
||||
void ShutdownDropboxes();
|
||||
void RunSystemMaintRoutine();
|
||||
void RunLocalMaintRoutine();
|
||||
int GetMaintInterval() const;
|
||||
void RunEphemeralProcess(int id,const QString &program,
|
||||
const QStringList &args);
|
||||
QMap<int,Process *> svc_processes;
|
||||
QTimer *svc_maint_timer;
|
||||
QTimer *svc_exit_timer;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user