mirror of
https://github.com/casjaysdevdocker/aria2
synced 2025-02-08 12:36:45 -05:00
Dockerfile LICENSE.md rootfs/usr/local/bin/entrypoint.sh rootfs/usr/local/share/template-files/config/aria2/scripts/post-hook.sh
23 lines
997 B
Bash
Executable File
23 lines
997 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
|
##@Version : 202210191942-git
|
|
# @@Author : Jason Hempstead
|
|
# @@Contact : git-admin@casjaysdev.pro
|
|
# @@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]"
|