added pm2 config

This commit is contained in:
Martin Donnelly 2017-10-26 11:01:30 +01:00
parent 934655e36d
commit dc5de0d304

View File

@ -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
}]
}
};