qinglong/back
copilot-swe-agent[bot] cb93a1f0d3
fix: support non-root user container startup
- Guard /etc/resolv.conf write and crond behind root check in entrypoint;
  non-root containers now stay alive via 'tail -f /dev/null' instead of
  failing when crond exits with EPERM
- Set PM2_HOME to ${QL_DIR}/data/.pm2 (inside the data volume) so PM2
  does not fall back to /root/.pm2, which is inaccessible to non-root users
- Pre-create /ql/.tmp and /ql/shell/preload during image build and make
  them world-writable so non-root processes can write runtime files
- Wrap directory creation in initFile.ts with try/catch + recursive:true
  so a permission error on ~/.ssh (HOME=/root for non-root user) is logged
  as a warning instead of crashing the server init
2026-05-24 06:39:38 +00:00
..
api 修复 cron-parser import,websocket basepath 2025-12-23 00:28:16 +08:00
config Fix QlBaseUrl: use URL rewrite for base path support (#2876) 2025-12-22 23:44:29 +08:00
data Add signature verification support for Feishu bot notifications (#2856) 2025-11-27 01:10:04 +08:00
interface 修改定时规则类型 2025-02-21 01:35:08 +08:00
loaders fix: support non-root user container startup 2026-05-24 06:39:38 +00:00
middlewares 修改服务启动逻辑 2025-05-07 09:30:00 +08:00
protos Add missing larkSecret field to gRPC NotificationInfo proto (#2880) 2025-12-22 23:38:42 +08:00
schedule Add cron task management to QLAPI (#2826) 2025-11-14 23:20:56 +08:00
services 修复运行中任务停止操作 2025-12-26 01:07:08 +08:00
shared 修复任务实例默认值 2025-11-23 12:45:02 +08:00
types 修改服务启动逻辑 2025-05-07 09:30:00 +08:00
validation 修复 cron-parser import,websocket basepath 2025-12-23 00:28:16 +08:00
app.ts fix: disable COOP and Origin-Agent-Cluster headers to fix blank page on HTTP 2026-04-25 06:57:53 +00:00
token.ts 修改服务启动逻辑 2025-05-07 09:30:00 +08:00
tsconfig.json 修改服务启动逻辑 2025-05-07 09:30:00 +08:00