Create PM2 Config file

I don't know if this is a good idea, but users that prefer to use PM2 instead, they can run `pm2 start` instead of `pm2 start server/server.js --name uptime-kuma` with this configuration
This commit is contained in:
Slayer 2021-10-11 15:22:52 +03:00 committed by GitHub
parent 97af09fd50
commit d769c4426c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

6
ecosystem.config.js Normal file
View File

@ -0,0 +1,6 @@
module.exports = {
apps: [{
name: "uptime-kuma",
script: "./server/server.js",
}]
}