Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
musicbot:pm2 [2019/03/05 09:37]
aleana [PM2]
musicbot:pm2 [2019/03/16 21:03] (current)
aleana
Line 16: Line 16:
 With these commands done, your bot should be running in the background, should restart if it crashes, and should start whenever you start your system. With these commands done, your bot should be running in the background, should restart if it crashes, and should start whenever you start your system.
  
-At any point after this, if you would like to start, stop, or restart MusicBot, you can use the following.+At any point after this, if you would like to view logs, start, stop, or restart MusicBot, you can use the following.
 <code bash> <code bash>
 +pm2 logs MusicBot ​     - View MusicBot logs
 pm2 restart MusicBot ​  - Restart MusicBot pm2 restart MusicBot ​  - Restart MusicBot
 pm2 stop MusicBot ​     - Stop MusicBot pm2 stop MusicBot ​     - Stop MusicBot
 pm2 start MusicBot ​    - Start MusicBot pm2 start MusicBot ​    - Start MusicBot
 </​code>​ </​code>​