mirror of
https://github.com/11notes/docker-kms.git
synced 2025-11-01 12:33:44 +00:00
add KMS_LOGLEVEL
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
if [ -z "${KMS_LOCALE}" ]; then KMS_LOCALE=1033; fi
|
||||
if [ -z "${KMS_ACTIVATIONINTERVAL}" ]; then KMS_ACTIVATIONINTERVAL=120; fi
|
||||
if [ -z "${KMS_RENEWALINTERVAL}" ]; then KMS_RENEWALINTERVAL=259200; fi
|
||||
if [ -z "${KMS_LOGLEVEL}" ]; then KMS_LOGLEVEL="INFO"; fi
|
||||
|
||||
if [ -z "$1" ]; then
|
||||
set -- "python3" \
|
||||
@@ -16,10 +17,11 @@
|
||||
-r ${KMS_RENEWALINTERVAL} \
|
||||
-s /kms/var/kms.db \
|
||||
-w RANDOM \
|
||||
-V ERROR \
|
||||
-F STDOUT \
|
||||
-V ${KMS_LOGLEVEL} \
|
||||
-F FILEOFF \
|
||||
-t0 600 \
|
||||
-t1 300
|
||||
-t1 300 \
|
||||
-y
|
||||
fi
|
||||
|
||||
exec "$@"
|
Reference in New Issue
Block a user