mirror of
https://github.com/TrezOne/docker-mods-uptime-kuma-timeout-fix.git
synced 2026-07-18 08:48:27 -04:00
Minor changes (PATCH)
- Log messages with version - Dockerfile case
This commit is contained in:
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
# syntax=docker/dockerfile:1
|
# syntax=docker/dockerfile:1
|
||||||
|
|
||||||
## Buildstage ##
|
## Buildstage ##
|
||||||
FROM ghcr.io/linuxserver/baseimage-alpine:3.20 as buildstage
|
FROM ghcr.io/linuxserver/baseimage-alpine:3.20 AS buildstage
|
||||||
ARG MOD_VERSION
|
ARG MOD_VERSION
|
||||||
|
|
||||||
# copy local files
|
# copy local files
|
||||||
|
|||||||
Regular → Executable
+2
-2
@@ -199,7 +199,7 @@ while (( "$#" )); do
|
|||||||
exit 0
|
exit 0
|
||||||
;;
|
;;
|
||||||
--version ) # Display version
|
--version ) # Display version
|
||||||
echo "$striptracks_script $striptracks_ver"
|
echo "${striptracks_script} ${striptracks_ver/{{VERSION\}\}/unknown}"
|
||||||
exit 0
|
exit 0
|
||||||
;;
|
;;
|
||||||
-f|--file ) # Batch Mode
|
-f|--file ) # Batch Mode
|
||||||
@@ -1000,7 +1000,7 @@ done
|
|||||||
|
|
||||||
# Log Debug state
|
# Log Debug state
|
||||||
if [ $striptracks_debug -ge 1 ]; then
|
if [ $striptracks_debug -ge 1 ]; then
|
||||||
striptracks_message="Debug|Enabling debug logging level ${striptracks_debug}. Starting run for: $striptracks_title"
|
striptracks_message="Debug|Running ${striptracks_script} version ${striptracks_ver/{{VERSION\}\}/unknown} with debug logging level ${striptracks_debug}. Video: $striptracks_title"
|
||||||
echo "$striptracks_message" | log
|
echo "$striptracks_message" | log
|
||||||
echo "$striptracks_message" >&2
|
echo "$striptracks_message" >&2
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user