mirror of
https://github.com/legop3/MultiRoombaRover.git
synced 2026-09-16 01:21:20 -04:00
backup / restoreslop
This commit is contained in:
@@ -1,3 +1,10 @@
|
||||
const backupRestoreService = require('./src/services/backupRestoreService');
|
||||
|
||||
// A staged restore must replace data before configuration, identity, or report
|
||||
// services open SQLite. Requiring the service here is safe because its runtime
|
||||
// HTTP/socket dependencies remain lazy until register() is called below.
|
||||
backupRestoreService.applyPendingRestore();
|
||||
|
||||
require('./src/globals/logger');
|
||||
require('./src/globals/config');
|
||||
require('./src/globals/http');
|
||||
@@ -66,4 +73,5 @@ require('./src/services/replayEngineV2');
|
||||
// Discord feature so web requests always have a local delivery path.
|
||||
require('./src/services/replayDeliveryService');
|
||||
require('./src/services/discordBotService');
|
||||
backupRestoreService.register();
|
||||
require('./src/services/httpServer');
|
||||
|
||||
Reference in New Issue
Block a user