chore: add pm2 save to update-server.sh

This commit is contained in:
mARTin 2026-02-27 09:29:53 +01:00
parent 2c81b348aa
commit 8d2134b83d

View File

@ -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