qinglong/shell
Copilot 8f23c61fee
Add non-root Docker user support with automatic command setup (#2830)
* Initial plan

* Add non-root user guide and improve error messages

Co-authored-by: whyour <22700758+whyour@users.noreply.github.com>

* Add PM2_HOME configuration to fix non-root user permission errors

Co-authored-by: whyour <22700758+whyour@users.noreply.github.com>

* Fix PM2 socket error by using /tmp for PM2_HOME instead of mounted volume

Co-authored-by: whyour <22700758+whyour@users.noreply.github.com>

* Document symlink permission limitation for non-root users

Co-authored-by: whyour <22700758+whyour@users.noreply.github.com>

* Clarify that scheduled tasks auto-adapt to use full paths when symlinks unavailable

Co-authored-by: whyour <22700758+whyour@users.noreply.github.com>

* Add error handling for symlink creation to prevent worker crashes

Co-authored-by: whyour <22700758+whyour@users.noreply.github.com>

* Add practical solutions for non-root users to use ql and task commands

Co-authored-by: whyour <22700758+whyour@users.noreply.github.com>

* Modify linkCommand to create symlinks in ~/bin for non-root users

Co-authored-by: whyour <22700758+whyour@users.noreply.github.com>

* 修复链接 task 命令

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: whyour <22700758+whyour@users.noreply.github.com>
Co-authored-by: whyour <imwhyour@gmail.com>
2025-11-15 01:46:24 +08:00
..
preload Add cron task management to QLAPI (#2826) 2025-11-14 23:20:56 +08:00
api.sh Fix QlPort and QlGrpcPort environment variables ignored in host network mode and pm2 reload (#2825) 2025-11-14 22:56:39 +08:00
bot.sh 移除 config.sh 中 PipMirror 和 NpmMirror配置 2023-12-25 22:05:33 +08:00
check.sh Fix QlPort and QlGrpcPort environment variables ignored in host network mode and pm2 reload (#2825) 2025-11-14 22:56:39 +08:00
env.sh fs 文件操作替换为 fs.promise 2023-11-01 16:44:34 +08:00
otask.sh 修复 mac 时间格式化 2024-09-29 22:47:57 +08:00
pub.sh 修复 command-run 接口日志绑定 2025-07-12 20:29:44 +08:00
rmlog.sh 修复删除日志命令 2024-08-24 22:43:09 +08:00
share.sh Add non-root Docker user support with automatic command setup (#2830) 2025-11-15 01:46:24 +08:00
task.sh 修复日志目录逻辑 2025-11-09 21:42:45 +08:00
update.sh Fix QlPort and QlGrpcPort environment variables ignored in host network mode and pm2 reload (#2825) 2025-11-14 22:56:39 +08:00