Make shure the service is started
This commit is contained in:
parent
2ef59e812d
commit
35a75dfc3f
@ -53,6 +53,7 @@ node .\dist\modules\wamo\cli\generateConfig.js
|
|||||||
@REM create the new services
|
@REM create the new services
|
||||||
node .\dist\lib\cli\createService.js --noFuncs --runInstances --runEveryService --runExtra --layer io-client --log info
|
node .\dist\lib\cli\createService.js --noFuncs --runInstances --runEveryService --runExtra --layer io-client --log info
|
||||||
node .\dist\lib\cli\ioServerService.js -m install
|
node .\dist\lib\cli\ioServerService.js -m install
|
||||||
|
node .\dist\lib\cli\ioServerService.js -m start
|
||||||
|
|
||||||
@REM now reinstall the services
|
@REM now reinstall the services
|
||||||
|
|
||||||
|
@ -97,6 +97,13 @@ switch (parser.parseArgs().mode) {
|
|||||||
svc.start();
|
svc.start();
|
||||||
logger.info("ioServer installed and started");
|
logger.info("ioServer installed and started");
|
||||||
});
|
});
|
||||||
|
svc.on("start", function () {
|
||||||
|
logger.info("ioServer started");
|
||||||
|
});
|
||||||
|
svc.on("alreadyinstalled", function () {
|
||||||
|
svc.start();
|
||||||
|
logger.info("ioServer installed and started");
|
||||||
|
});
|
||||||
|
|
||||||
svc.install();
|
svc.install();
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user