PM2

Last Edited Time
Feb 9, 2022 06:59 AM
date
Aug 16, 2018
slug
pm2
status
Published
tags
PM2
Notebook
summary
早期 PM2 工作笔记, 后续有阅读过 PM2 源码
type
Post

common command

# Set Rules for Iptables
sudo pm2 start /usr/local/bin/iptables_setup.sh

# ShadowSock
sudo pm2 start /usr/local/bin/start_shadowsocks.sh

# Pixiv Node Server
sudo pm2 start /usr/local/bin/start_pixiv_node_server.sh

# pm2 list
sudo pm2 list

# pm2 save
sudo pm2 save

# pm2 startup
sudo pm2 startup centos

# common used command
pm2 resurrect
pm2 start all
pm2 stop all
pm2 list
pm2 save
pm2 start npm --name="pixiv-taro" -- run dev:weapp