qinglong/back/loaders
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
..
app.ts 修改服务启动逻辑 2025-05-07 09:30:00 +08:00
bootAfter.ts 定时任务支持 @once 和 @boot 任务 2025-02-20 02:18:59 +08:00
db.ts Fix task duplication: add single/multi-instance support with UI configuration and stop all running instances (#2837) 2025-11-19 00:10:27 +08:00
depInjector.ts 添加订阅管理前端 2022-05-08 09:41:06 +08:00
deps.ts 移除用户判断 2025-11-15 17:02:00 +08:00
express.ts Fix /open/user/init auth bypass allowing credential reset on initialized systems (#2941) 2026-03-01 18:02:21 +08:00
initData.ts 修复 PATH 环境变量 2026-03-01 20:35:19 +08:00
initFile.ts fix: support non-root user container startup 2026-05-24 06:39:38 +00:00
initTask.ts Add global SSH key configuration in system settings (#2840) 2025-11-20 10:09:01 +08:00
logger.ts 修改服务启动逻辑 2025-05-07 09:30:00 +08:00
server.ts 修改系统重启逻辑 2024-03-14 17:37:52 +08:00
sock.ts 修复 cron-parser import,websocket basepath 2025-12-23 00:28:16 +08:00