Bind Feishu identity to OpenVPN sessions and refine management UI
This commit is contained in:
1 parent
347799cb1e
commit
8fd8c0cd73
27 files changed
+1556
-1011
No files matched your search
+3
-2
@@ -29,7 +29,8 @@ curl --fail http://127.0.0.1:18080/api/health
|
||||
cd /home/ubuntu/opsx-vpn
|
||||
git status --short
|
||||
curl --fail http://127.0.0.1:18080/api/health
|
||||
sudo cp -p opsx-vpn "opsx-vpn.bak-$(date +%Y%m%d-%H%M%S)"
|
||||
sudo install -d -m 700 /tmp/opsx-vpn-backups
|
||||
sudo cp -p opsx-vpn "/tmp/opsx-vpn-backups/opsx-vpn.bak-$(date +%Y%m%d-%H%M%S)"
|
||||
git pull --ff-only origin master
|
||||
cd frontend && npm run build && cd ..
|
||||
go build -ldflags="-s -w" -o opsx-vpn.new ./backend
|
||||
@@ -47,7 +48,7 @@ curl --fail http://127.0.0.1:18080/api/health
|
||||
sudo ss -tlnp | grep ':18080'
|
||||
```
|
||||
|
||||
再检查页面静态资源、`/tmp/opsx-vpn.log` 和原有 VPN 实例状态。若新版本无法启动,停掉新管理进程,复制最近的 `opsx-vpn.bak-*` 到 `opsx-vpn` 并按上面的方式启动;如涉及数据模型变更,先依据对应变更的迁移说明处理数据库,不能直接覆盖 `data/`。
|
||||
再检查页面静态资源、`/tmp/opsx-vpn.log` 和原有 VPN 实例状态。备份只放在 `/tmp/opsx-vpn-backups`,验证成功后仅保留最新两份。若新版本无法启动,停掉新管理进程,复制该目录中最近的 `opsx-vpn.bak-*` 到 `opsx-vpn` 并按上面的方式启动;如涉及数据模型变更,先依据对应变更的迁移说明处理数据库,不能直接覆盖 `data/`。
|
||||
|
||||
## 飞书 / OIDC 登录入口
|
||||
|
||||
|
||||
Reference in new issue
Block a user