Add PM2 ecosystem config
This commit is contained in:
14
ecosystem.config.js
Normal file
14
ecosystem.config.js
Normal file
@@ -0,0 +1,14 @@
|
||||
module.exports = {
|
||||
apps: [
|
||||
{
|
||||
name: 'otivm',
|
||||
script: 'serve',
|
||||
args: 'dist -l 3000 -s',
|
||||
cwd: '/home/otivm/OTIVM',
|
||||
interpreter: 'none',
|
||||
env: {
|
||||
NODE_ENV: 'production',
|
||||
},
|
||||
},
|
||||
],
|
||||
}
|
||||
Reference in New Issue
Block a user