pm2 config in file
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2022-03-07 03:12:56 +03:00
parent fd32ca704a
commit b57e3e5cba
4 changed files with 2856 additions and 110 deletions

View File

@@ -18,7 +18,3 @@ steps:
commands: commands:
- cd /home/pi/warframe-market-bot - cd /home/pi/warframe-market-bot
- npm install - npm install
- name: restart
commands:
- export PM2_HOME=/home/pi/.pm2
- pm2 restart warframe-market-bot

9
ecosystem.config.js Normal file
View File

@@ -0,0 +1,9 @@
module.exports = {
apps: [{
name: 'warframe-market-bot',
script: './src/index.js',
watch: true,
ignore_watch: ['node_modules', 'index.html'],
restart_delay: 600000
}]
}

2950
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -15,6 +15,7 @@
"limiter": "^2.1.0" "limiter": "^2.1.0"
}, },
"devDependencies": { "devDependencies": {
"eslint-config-standard": "^16.0.3" "eslint-config-standard": "^16.0.3",
"pm2": "^5.2.0"
} }
} }