Step-by-Step
- Give Executable Permissions
sudo chmod +x thirdpartyserver-mac
- Start with PM2
pm2 start thirdpartyserver-mac
- (Optional) Run as Root with PM2
sudo pm2 start thirdpartyserver-mac --user root
- Check File Path
Ensure the file exists at /path/to/thirdpartyserver-mac.