Open tansaku opened 7 years ago
I'm thinking to set the bot running in a loop like this:
while true; do nodejs server.js; done
Or you could find out a way to run this service outside a tmux session.
Heroku restart processes automatically on failure.
thanks for those links @arreche - I think the while true
will restart on failure, but it's interesting all the stuff heroku supports for us, like ability to view logs and do restarts by team members ...
pm2 and forever look cool - will have to give those a spin
When @mtc2013 was testing we got this failure: