to the winsw.js for the logOnAs. Without that parameter, the service is being installed, but doesn't start automatically and requires manual password setting in the service manager as it won't start due to "log failed" issue.
After the mentioned line is added into the config XML file, the service will start automatically as another user without issues.
Added the line: {allowservicelogon: 'true'}
to the winsw.js for the logOnAs. Without that parameter, the service is being installed, but doesn't start automatically and requires manual password setting in the service manager as it won't start due to "log failed" issue. After the mentioned line is added into the config XML file, the service will start automatically as another user without issues.