{
"apps": [{
"name": "spring-boot--80",
"cwd": ".",
"args": [
"-jar",
"be/build/libs/mobile-0.0.1-SNAPSHOT.jar"
],
"env": {
},
"script": "/usr/bin/java",
"node_args": [],
"log_date_format": "YYYY-MM-DD HH:mm Z",
"exec_interpreter": "none",
"exec_mode": "fork"
}]
}
sudo touch run-pm2.json && sudo chown $USER run-pm2.json && sudo chmod 755 run-pm2.json
sudo nano run-pm2.json
sudo pm2 start run-pm2.json
sudo pm2 log 0