aboutsummaryrefslogtreecommitdiff
path: root/ecosystem.config.js
diff options
context:
space:
mode:
authorIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-09-06 21:55:37 -0400
committerIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-09-06 21:55:37 -0400
commit6c9d967ae526a4a1eee1754a82b09dbadb218f82 (patch)
tree944ef46291a28a6eaf1a1a08b8aac99c3004ce9e /ecosystem.config.js
parent91d038935f138565dcc5cb5988b724f574ffaecd (diff)
downloadtanzanite-6c9d967ae526a4a1eee1754a82b09dbadb218f82.tar.gz
tanzanite-6c9d967ae526a4a1eee1754a82b09dbadb218f82.tar.bz2
tanzanite-6c9d967ae526a4a1eee1754a82b09dbadb218f82.zip
fix pm2 more
Diffstat (limited to 'ecosystem.config.js')
-rw-r--r--ecosystem.config.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/ecosystem.config.js b/ecosystem.config.js
index 70100e5..95db01c 100644
--- a/ecosystem.config.js
+++ b/ecosystem.config.js
@@ -3,7 +3,7 @@ module.exports = {
{
name: 'bush-bot',
script: 'yarn',
- args: 'start',
+ args: 'node --trace-warnings dist/src/bot.js',
out_file: '../bushbot.log',
error_file: '../bushbot.log',
max_memory_restart: '1G',
@@ -17,7 +17,7 @@ module.exports = {
{
name: 'bush-bot-beta',
script: 'yarn',
- args: 'start',
+ args: 'node --trace-warnings dist/src/bot.js',
out_file: '../bushbot-beta.log',
error_file: '../bushbot-beta.log',
max_memory_restart: '1G',
@@ -37,7 +37,7 @@ module.exports = {
'ref': 'origin/master',
'repo': 'https://github.com/NotEnoughUpdates/bush-bot.git',
'path': '/code/bush-bot',
- 'post-deploy': 'yarn install && yarn build-tsc && yarn start ecosystem.config.js --only bush-bot'
+ 'post-deploy': 'yarn install && yarn build-tsc && pm2 start ecosystem.config.js --only bush-bot'
},
beta: {
'user': 'pi',
@@ -45,7 +45,7 @@ module.exports = {
'ref': 'origin/beta',
'repo': 'https://github.com/NotEnoughUpdates/bush-bot.git',
'path': '/code/bush-bot-beta',
- 'post-deploy': 'yarn install && yarn build-tsc && yarn start ecosystem.config.js --only bush-bot-beta'
+ 'post-deploy': 'yarn install && yarn build-tsc && pm2 start ecosystem.config.js --only bush-bot-beta'
}
}
};