mirror of
https://github.com/casjaysdevdocker/aria2
synced 2025-01-18 12:34:31 -05:00
🗃️ Committing everything that changed 🗃️
This commit is contained in:
parent
e28d0a69c3
commit
e99a7d9e0c
@ -2161,7 +2161,7 @@
|
|||||||
type: 'option',
|
type: 'option',
|
||||||
options: ['debug', 'info', 'notice', 'warn', 'error'],
|
options: ['debug', 'info', 'notice', 'warn', 'error'],
|
||||||
readonly: !0,
|
readonly: !0,
|
||||||
defaultValue: 'warn',
|
defaultValue: 'error',
|
||||||
},
|
},
|
||||||
'content-disposition-default-utf8': {
|
'content-disposition-default-utf8': {
|
||||||
since: '1.31.0',
|
since: '1.31.0',
|
||||||
|
@ -18,7 +18,9 @@ max-download-limit=0
|
|||||||
max-overall-upload-limit=0
|
max-overall-upload-limit=0
|
||||||
max-upload-limit=0
|
max-upload-limit=0
|
||||||
file-allocation=prealloc
|
file-allocation=prealloc
|
||||||
console-log-level=warn
|
console-log-level=error
|
||||||
save-session-interval=10
|
save-session-interval=10
|
||||||
max-upload-limit=0
|
max-upload-limit=0
|
||||||
bt-tracker=udp://62.138.0.158:6969/announce,udp://188.241.58.209:6969/announce,udp://151.80.120.112:2710/announce,udp://151.80.120.114:2710/announce,udp://93.158.213.92:1337/announce,udp://185.19.107.254:80/announce,udp://185.225.17.100:1337/announce,udp://208.83.20.20:6969/announce,udp://5.206.19.247:6969/announce,udp://37.235.174.46:2710/announce,udp://142.44.243.4:1337/announce,udp://195.154.52.99:80/announce,udp://54.37.235.149:6969/announce,udp://212.1.226.176:2710/announce,udp://89.234.156.205:451/announce,udp://159.100.245.181:6969/announce,udp://45.56.74.11:6969/announce,udp://51.15.226.113:6969/announce,udp://176.113.71.19:6961/announce,udp://51.15.40.114:80/announce
|
bt-tracker=udp://62.138.0.158:6969/announce,udp://188.241.58.209:6969/announce,udp://151.80.120.112:2710/announce,udp://151.80.120.114:2710/announce,udp://93.158.213.92:1337/announce,udp://185.19.107.254:80/announce,udp://185.225.17.100:1337/announce,udp://208.83.20.20:6969/announce,udp://5.206.19.247:6969/announce,udp://37.235.174.46:2710/announce,udp://142.44.243.4:1337/announce,udp://195.154.52.99:80/announce,udp://54.37.235.149:6969/announce,udp://212.1.226.176:2710/announce,udp://89.234.156.205:451/announce,udp://159.100.245.181:6969/announce,udp://45.56.74.11:6969/announce,udp://51.15.226.113:6969/announce,udp://176.113.71.19:6961/announce,udp://51.15.40.114:80/announce
|
||||||
|
on-download-error=/config/aria2/scripts/post-hook.sh
|
||||||
|
on-download-complete=/config/aria2/scripts/post-hook.sh
|
||||||
|
22
rootfs/usr/local/share/template-files/config/aria2/scripts/post-hook.sh
Executable file
22
rootfs/usr/local/share/template-files/config/aria2/scripts/post-hook.sh
Executable file
@ -0,0 +1,22 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||||
|
##@Version : 202210191942-git
|
||||||
|
# @@Author : Jason Hempstead
|
||||||
|
# @@Contact : git-admin@casjaysdev.com
|
||||||
|
# @@License : LICENSE.md
|
||||||
|
# @@ReadME : post-hook.sh --help
|
||||||
|
# @@Copyright : Copyright: (c) 2022 Jason Hempstead, Casjays Developments
|
||||||
|
# @@Created : Wednesday, Oct 19, 2022 19:42 EDT
|
||||||
|
# @@File : post-hook.sh
|
||||||
|
# @@Description : post script
|
||||||
|
# @@Changelog : newScript
|
||||||
|
# @@TODO : Refactor code
|
||||||
|
# @@Other :
|
||||||
|
# @@Resource : https://aria2.github.io/manual/en/html/aria2c.html#event-hook
|
||||||
|
# @@Terminal App : no
|
||||||
|
# @@sudo/root : no
|
||||||
|
# @@Template : bash/system
|
||||||
|
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||||
|
set -eu
|
||||||
|
|
||||||
|
echo "[INFO] $(date -u +'%Y-%m-%dT%H:%M:%SZ') Aria2 hook triggered with parameters: GID [$1], Files Count: [$2], Files Path: [$3]"
|
Loading…
x
Reference in New Issue
Block a user