Fix: missing error message in rotate_logs script.
This commit is contained in:
+5
-2
@@ -10,6 +10,8 @@
|
|||||||
# Author: Kovács Zoltán <kovacs.zoltan@smartfront.hu>
|
# Author: Kovács Zoltán <kovacs.zoltan@smartfront.hu>
|
||||||
# Kovács Zoltán <kovacsz@marcusconsulting.hu>
|
# Kovács Zoltán <kovacsz@marcusconsulting.hu>
|
||||||
# License: GNU/GPL v3+ (https://www.gnu.org/licenses/gpl-3.0.en.html)
|
# 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
|
# 2025-03-17 v1.2
|
||||||
# mod: rotates non-empty logs even if the service isn't running.
|
# mod: rotates non-empty logs even if the service isn't running.
|
||||||
# 2024-08-24 v1.1
|
# 2024-08-24 v1.1
|
||||||
@@ -21,9 +23,9 @@
|
|||||||
# 2021-09-02 v0.1 Initial release
|
# 2021-09-02 v0.1 Initial release
|
||||||
|
|
||||||
# Accepted environment variables and their defaults.
|
# 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_CONFDIR=${PAR_CONFDIR:-""} # Folder containing configs
|
||||||
PAR_LOGDIR=${PAR_LOGDIR:-""} # Folder containing logs
|
PAR_LOGDIR=${PAR_LOGDIR:-""} # Folder containing logs
|
||||||
|
|
||||||
# Other initialisations.
|
# Other initialisations.
|
||||||
CONFDIR="configs" # Folder containing configs
|
CONFDIR="configs" # Folder containing configs
|
||||||
@@ -32,6 +34,7 @@ YMLFILE="docker-compose.yml"
|
|||||||
|
|
||||||
# Messages.
|
# Messages.
|
||||||
MSG_MISSINGDEP="Fatal: missing dependency"
|
MSG_MISSINGDEP="Fatal: missing dependency"
|
||||||
|
MSG_MISSINGYML="Fatal: didn't find the docker-compose.yml file"
|
||||||
|
|
||||||
# Basic environment settings.
|
# Basic environment settings.
|
||||||
LANG=C
|
LANG=C
|
||||||
|
|||||||
Reference in New Issue
Block a user