1 Star 0 Fork 0

daniel2y/alist

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
entrypoint.sh 436 Bytes
一键复制 编辑 原始数据 按行查看 历史
Mmx 提交于 2025-04-27 19:56 +08:00 . fix: shebang of entrypoint.sh (#8408)
#!/bin/sh
umask ${UMASK}
if [ "$1" = "version" ]; then
./alist version
else
if [ "$RUN_ARIA2" = "true" ]; then
chown -R ${PUID}:${PGID} /opt/aria2/
exec su-exec ${PUID}:${PGID} nohup aria2c \
--enable-rpc \
--rpc-allow-origin-all \
--conf-path=/opt/aria2/.aria2/aria2.conf \
>/dev/null 2>&1 &
fi
chown -R ${PUID}:${PGID} /opt/alist/
exec su-exec ${PUID}:${PGID} ./alist server --no-prefix
fi
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/y2h/alist.git
git@gitee.com:y2h/alist.git
y2h
alist
alist
main

搜索帮助