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:
@@ -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');
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user