Starting to work on instal and update function #10

- Added a new self updater module that will update the git repo and restart the node service
- Added a setup script that will install and setup both OP25 and the DRB node
- Updated service names
This commit is contained in:
Logan Cusano
2024-03-03 19:41:06 -05:00
parent 54a6d544e4
commit 1395130d6d
4 changed files with 241 additions and 3 deletions

View File

@@ -40,8 +40,8 @@ const createConfigAndRestartService = async (systemName, preset) => {
await generator.exportToFile(op25ConfigPath);
// Restart the service
await stopService('op25');
await startService('op25');
await stopService('op25-multi_rx');
await startService('op25-multi_rx');
};
/**
@@ -72,7 +72,7 @@ export const openOP25 = async (systemName) => {
*/
export const closeOP25 = async () => {
currentSystem = undefined;
await stopService('op25');
await stopService('op25-multi_rx');
};
/**