aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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'
}
}
};