chore: add pm2 save to update-server.sh
This commit is contained in:
parent
2c81b348aa
commit
8d2134b83d
@ -24,6 +24,7 @@ npm run build
|
||||
|
||||
echo -e "${YELLOW}Step 6: Restarting server with PM2...${NC}"
|
||||
pm2 restart my-weekly-todo || pm2 start npm --name "my-weekly-todo" -- start
|
||||
pm2 save
|
||||
|
||||
echo -e "${GREEN}Update complete! App is running on LXC.${NC}"
|
||||
pm2 list
|
||||
|
||||
Loading…
Reference in New Issue
Block a user