From 8d2134b83d3cd6d9fded3037e1c786ebab12f65e Mon Sep 17 00:00:00 2001 From: mARTin Date: Fri, 27 Feb 2026 09:29:53 +0100 Subject: [PATCH] chore: add pm2 save to update-server.sh --- scripts/update-server.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/update-server.sh b/scripts/update-server.sh index 162fb1e..4a1652c 100755 --- a/scripts/update-server.sh +++ b/scripts/update-server.sh @@ -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