로토의 블로그

npm script로 pm2 실행하기

맨날 까먹어서 기록.

pm2 start --name "이름" npm -- start
pm2 start npm --name "{app_name}" -- run {script_name}