|
|
@ -3,9 +3,7 @@ export LC_ALL=C.UTF-8
|
|
|
|
export LANG=C.UTF-8
|
|
|
|
export LANG=C.UTF-8
|
|
|
|
TITLESHORT="VPP"
|
|
|
|
TITLESHORT="VPP"
|
|
|
|
|
|
|
|
|
|
|
|
set -e
|
|
|
|
function Configuration {
|
|
|
|
|
|
|
|
|
|
|
|
Configuration () {
|
|
|
|
|
|
|
|
log "############################################ SABnzbd Job: $jobname"
|
|
|
|
log "############################################ SABnzbd Job: $jobname"
|
|
|
|
log "############################################ SABnzbd Category: $category"
|
|
|
|
log "############################################ SABnzbd Category: $category"
|
|
|
|
log "############################################ DOCKER: $TITLE"
|
|
|
|
log "############################################ DOCKER: $TITLE"
|
|
|
@ -38,14 +36,16 @@ Configuration () {
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
log () {
|
|
|
|
|
|
|
|
|
|
|
|
function log {
|
|
|
|
m_time=`date "+%F %T"`
|
|
|
|
m_time=`date "+%F %T"`
|
|
|
|
echo $m_time" "$1
|
|
|
|
echo $m_time" "$1
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
Main () {
|
|
|
|
|
|
|
|
|
|
|
|
function Main {
|
|
|
|
folderpath="$1"
|
|
|
|
folderpath="$1"
|
|
|
|
jobname="$3"
|
|
|
|
jobname="$3"
|
|
|
|
category="$5"
|
|
|
|
category="$5"
|
|
|
|
|
|
|
|
|
|
|
|
Configuration
|
|
|
|
Configuration
|
|
|
|