Switch windows service to production
I have installed jsreport on a windows 2012 server. Folder c:\jsreport. I also installed the windows service and it works.
In cmd I can set the NODE_ENV to production and start the jsreport-server. And the server starts in production mode.
How do I have to configure production mode for the windows service?
I think I found a solution.
- uninstalled service "jsreport win-uninstall"
- set production "set NODE_ENV=production"
3 . install service "jsreport win-install"
Now the service runs in production mode.