added pm2 config
This commit is contained in:
parent
934655e36d
commit
dc5de0d304
@ -1,7 +1,15 @@
|
||||
module.exports = {
|
||||
apps : [{
|
||||
name : "Today",
|
||||
script : "./todayV2.js",
|
||||
interpreter : 'node@8'
|
||||
apps: [{
|
||||
name: 'Today',
|
||||
script: './todayV2.js',
|
||||
interpreter: 'node@8',
|
||||
'cwd': '/home/martind2000/dev/today',
|
||||
'watch': false,
|
||||
'ignore_watch': [
|
||||
'node_modules', '.git'
|
||||
],
|
||||
'merge_logs': true,
|
||||
'autorestart': true,
|
||||
'restart_delay': 3500
|
||||
}]
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user