diff --git a/ecosystem.config.js b/ecosystem.config.js index 5a26291..6cd5886 100644 --- a/ecosystem.config.js +++ b/ecosystem.config.js @@ -1,11 +1,12 @@ +```javascript module.exports = { - apps : [{ - name : "ag-beats", - script : "./server.js", - interpreter: "node", - args: "", - node_args: "", - wait_ready: true, - listen_timeout: 5000 - }] -} \ No newline at end of file + apps: [ + { + name: "ag-beats", + script: "npm", + args: "start", + cwd: "/usr/src/app/ag-beats", + } + ] +}; +``` \ No newline at end of file