Skip to content

Commit

Permalink
change aria2 position
Browse files Browse the repository at this point in the history
  • Loading branch information
xhofe committed Jan 20, 2023
1 parent 87a2e18 commit 79f8555
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ umask ${UMASK}
exec su-exec ${PUID}:${PGID} nohup aria2c \
--enable-rpc \
--rpc-allow-origin-all \
--conf-path=/opt/alist/data/aria2/aria2.conf \
--conf-path=/root/.aria2/aria2.conf \
>/dev/null 2>&1 &

exec su-exec ${PUID}:${PGID} ./alist server --no-prefix
4 changes: 2 additions & 2 deletions install.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apk add --no-cache aria2 curl

mkdir -p /opt/alist/data/aria2
cd /opt/alist/data/aria2
mkdir -p /root/.aria2
cd /root/.aria2
wget https://github.com/P3TERX/aria2.conf/archive/refs/heads/master.tar.gz
tar -zxvf master.tar.gz --strip-components=1
rm -rf master.tar.gz
Expand Down

0 comments on commit 79f8555

Please sign in to comment.