//To Paste in Terminal Use Key
Ctrl+Shift+V 

//To Change Directory form pm2
cd /home/sjps/public_html/rfid_socket/

//To Start node.js Socket file
pm2 start index.js

//If you made code changes and want to restart gracefully:
pm2 reload index

//To completely remove it from PM2's list:
pm2 delete index

//If your app isn't working after restarting, check logs:
pm2 logs index

//for real-time logs:
pm2 logs index --lines 100 --raw

//To list all pm2 file
pm2 list

//To Save all pm2 file
pm2 save

//To Reboot Server
sudo reboot

//If PM2 doesn't auto-start after reboot, run:
pm2 resurrect

//Disable Auto-Start (If Needed)
pm2 unstartup

//Check PM2 logs: ((Replace <username> with your server user.))
journalctl -u pm2-<username>.service -b
