diff options
author | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-09-06 21:31:29 -0400 |
---|---|---|
committer | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-09-06 21:31:29 -0400 |
commit | bb061c938f4a967ed890f27c3ad56a63d6d6fec3 (patch) | |
tree | 10f808f2a7784235c5b19c0686f366128b6782c1 /ecosystem.config.js | |
parent | c9dbc3b7fa073889adf74a0ed47f1d5f0ad53362 (diff) | |
download | tanzanite-bb061c938f4a967ed890f27c3ad56a63d6d6fec3.tar.gz tanzanite-bb061c938f4a967ed890f27c3ad56a63d6d6fec3.tar.bz2 tanzanite-bb061c938f4a967ed890f27c3ad56a63d6d6fec3.zip |
make stats persistant, fix automod logs, pm2 bs
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 bcb74c7..d76aa26 100644 --- a/ecosystem.config.js +++ b/ecosystem.config.js @@ -1,7 +1,7 @@ module.exports = { apps: [ { - name: 'BushBot', + name: 'bush-bot', script: 'yarn', args: 'start', out_file: '../bushbot.log', @@ -15,7 +15,7 @@ module.exports = { wait_ready: true }, { - name: 'BushBot-Beta', + name: 'bush-bot-beta', script: 'yarn', args: 'start', out_file: '../bushbot-beta.log', @@ -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' + 'post-deploy': 'yarn install && yarn build && yarn 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' + 'post-deploy': 'yarn install && yarn build && yarn start ecosystem.config.js --only bush-bot-beta' } } }; |