Hi All, this document shows you how to create a service file for the npm start command.
* Root access to the server(Linux)
Step 1: Create a folder
Step 2: Create a service file for stop/start the service,
NOTE: you working and npm binary may change as per your environment
The service file created will navigate to code saved directory and start npm. All the logs related to this service are logged in to Syslog.
© 2020, Techrunnr. All rights reserved.