diff options
author | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-09-06 21:55:37 -0400 |
---|---|---|
committer | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-09-06 21:55:37 -0400 |
commit | 6c9d967ae526a4a1eee1754a82b09dbadb218f82 (patch) | |
tree | 944ef46291a28a6eaf1a1a08b8aac99c3004ce9e /ecosystem.config.js | |
parent | 91d038935f138565dcc5cb5988b724f574ffaecd (diff) | |
download | tanzanite-6c9d967ae526a4a1eee1754a82b09dbadb218f82.tar.gz tanzanite-6c9d967ae526a4a1eee1754a82b09dbadb218f82.tar.bz2 tanzanite-6c9d967ae526a4a1eee1754a82b09dbadb218f82.zip |
fix pm2 more
Diffstat (limited to 'ecosystem.config.js')
-rw-r--r-- | ecosystem.config.js | 8 |
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' } } }; |