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