build: add pm2 ecosystem config

This commit is contained in:
Ivan 2021-07-01 14:06:13 +08:00
parent a78dae9668
commit fd314b650b

14
ecosystem.config.js Normal file
View File

@ -0,0 +1,14 @@
module.exports = {
apps: [
{
name: "blog-fs",
script: "npm",
args: "run start",
watch: false,
ignore_watch: ["node_modules"],
log_date_format: "MM-DD HH:mm:ss.SSS Z",
env: {},
max_restarts: 5,
},
],
};