/usr/local/lib/node_modules/pm2/lib/templates
NameSizeModeActions
Dockerfiles/-0755rm
init-scripts/-0755rm
logrotate.d/-0755rm
sample-apps/-0755rm
ecosystem-es.tpl5110644editdlrm
ecosystem-simple-es.tpl1050644editdlrm
ecosystem-simple.tpl830644editdlrm
ecosystem.tpl4890644editdlrm
Edit: /usr/local/lib/node_modules/pm2/lib/templates/ecosystem.tpl (489B)
module.exports = { apps : [{ script: 'index.js', watch: '.' }, { script: './service-worker/', watch: ['./service-worker'] }], deploy : { production : { user : 'SSH_USERNAME', host : 'SSH_HOSTMACHINE', ref : 'origin/master', repo : 'GIT_REPOSITORY', path : 'DESTINATION_PATH', 'pre-deploy-local': '', 'post-deploy' : 'npm install && pm2 reload ecosystem.config.js --env production', 'pre-setup': '' } } };