diff --git a/.metadata b/.metadata index 36e3c48..b6e2d0b 100644 Binary files a/.metadata and b/.metadata differ diff --git a/tools/rotate_logs b/tools/rotate_logs index 33bd92c..91a160d 100755 --- a/tools/rotate_logs +++ b/tools/rotate_logs @@ -10,6 +10,8 @@ # Author: Kovács Zoltán # Kovács Zoltán # License: GNU/GPL v3+ (https://www.gnu.org/licenses/gpl-3.0.en.html) +# 2026-04-25 v1.3 +# fix: missing error message. # 2025-03-17 v1.2 # mod: rotates non-empty logs even if the service isn't running. # 2024-08-24 v1.1 @@ -21,9 +23,9 @@ # 2021-09-02 v0.1 Initial release # Accepted environment variables and their defaults. -PAR_BASEDIR=${PAR_BASEDIR:-""} # Service's base folder +PAR_BASEDIR=${PAR_BASEDIR:-""} # Service's base folder PAR_CONFDIR=${PAR_CONFDIR:-""} # Folder containing configs -PAR_LOGDIR=${PAR_LOGDIR:-""} # Folder containing logs +PAR_LOGDIR=${PAR_LOGDIR:-""} # Folder containing logs # Other initialisations. CONFDIR="configs" # Folder containing configs @@ -32,6 +34,7 @@ YMLFILE="docker-compose.yml" # Messages. MSG_MISSINGDEP="Fatal: missing dependency" +MSG_MISSINGYML="Fatal: didn't find the docker-compose.yml file" # Basic environment settings. LANG=C