SpikeHD / AmazonMonitor

Amazon price checker, item monitor and stock monitor, all shoved into a Discord bot
GNU General Public License v3.0
235 stars 39 forks source link

Question #118

Closed Pioussis closed 2 months ago

Pioussis commented 2 months ago

how to make the bot auto start with PM2

SpikeHD commented 2 months ago

It should be something like pm2 start npm --name amazon -- start

Pioussis commented 2 months ago

image

It doesn't work idk how to do it x))

SpikeHD commented 2 months ago

You can check the logs with pm2 logs. You should also remove the duplicates with pm2 delete <name>. Definitely check out the PM2 documentation as well!