Reputation: 1553
I have always stop jsreport server by simple close the commandline. Sometimes it causes new start to fail due to port still in use. What is the correct/safe way to turn off jsreport server?
Upvotes: 1
Views: 880
Reputation: 3095
There is no general shutdown functionality in jsreport currently. However I guess you are mainly interested in closing the web server. This can be done in the following way:
jsreport.express.server.close()
Upvotes: 2