File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 3
3
echo " [INFO] Run aria2c and ariaNG"
4
4
5
5
echo " [INFO] Generate basic auth password for caddy"
6
- ARIA2_PWD_ENCRYPT=$( caddy hash-password -plaintext ${ARIA2_PWD} )
6
+ ARIA2_PWD_ENCRYPT=$( caddy hash-password -- plaintext ${ARIA2_PWD} )
7
7
8
8
case $ENABLE_AUTH in
9
9
true)
@@ -28,4 +28,4 @@ heroku)
28
28
;;
29
29
esac
30
30
31
- /usr/local/bin/caddy run -config ${CADDY_FILE} -adapter=caddyfile
31
+ /usr/local/bin/caddy run -- config ${CADDY_FILE} - -adapter=caddyfile
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ ariang_file=AriaNg-${ariang_version}.zip
37
37
38
38
adduser -D -u 1000 junv \
39
39
&& apk update \
40
- && apk add runit shadow wget bash curl openrc gnupg aria2 tar mailcap fuse vim --no-cache \
40
+ && apk add runit shadow wget bash curl openrc gnupg aria2 tar mailcap fuse vim libcap --no-cache \
41
41
&& wget -N https://github.com/caddyserver/caddy/releases/download/v${caddy_version} /${caddy_file} \
42
42
&& tar -zxf ${caddy_file} \
43
43
&& mv caddy /usr/local/bin/ \
You can’t perform that action at this time.
0 commit comments