Fix backend runtime dependency and web deploy permissions

This commit is contained in:
Hermes Agent
2026-06-08 15:08:46 +08:00
parent 0e485492cf
commit 5217af6fe7
2 changed files with 3 additions and 1 deletions
+2 -1
View File
@@ -35,7 +35,8 @@ sudo -n systemctl daemon-reload
sudo -n systemctl enable ai-agent-admin-backend.service
sudo -n systemctl restart ai-agent-admin-backend.service
mkdir -p "$WEB_DIR"
sudo -n mkdir -p "$WEB_DIR"
sudo -n chown ubuntu:ubuntu "$WEB_DIR"
rm -rf "$WEB_DIR"/*
cp -a "$APP_DIR/frontend/dist/." "$WEB_DIR/"