1
0
Fork 0
mirror of https://github.com/Ylianst/MeshCentral.git synced 2025-03-09 15:40:18 +00:00

Fixed MeshCentral running as a Windows service.

This commit is contained in:
Ylian Saint-Hilaire 2018-03-14 15:16:55 -07:00
parent 2429a00907
commit d28454c5ec
3 changed files with 40 additions and 17 deletions

11
winservice.js Normal file
View file

@ -0,0 +1,11 @@
/**
* @description MeshCentral main module
* @author Ylian Saint-Hilaire
* @copyright Intel Corporation 2018
* @license Apache-2.0
* @version v0.0.1
*/
// This module is only called when MeshCentral is running as a Windows service.
// In this case, we don't want to start a child process, so we launch directly without arguments.
require('./meshcentral.js').mainStart({ "launch": true });