From 5643a10d42c8eb7c7c6b04b66143b1794d1038cd Mon Sep 17 00:00:00 2001 From: AirICat <110217729+AirICat@users.noreply.github.com> Date: Mon, 7 Aug 2023 15:13:37 +0800 Subject: [PATCH] fix entrypoint.sh MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 因aria2 文件位于/root下,所以无需继承外部用户权限。 --- entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index 5c086ef..f58345a 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -3,7 +3,7 @@ chown -R ${PUID}:${PGID} /opt/alist/ umask ${UMASK} -exec su-exec ${PUID}:${PGID} nohup aria2c \ +exec su-exec root:root nohup aria2c \ --enable-rpc \ --rpc-allow-origin-all \ --conf-path=/root/.aria2/aria2.conf \