[__matrix_synapse_worker] add forgotten variable export

This commit is contained in:
fnux 2021-02-17 14:02:02 +01:00
parent 33bf0fd416
commit c84831331e
No known key found for this signature in database
GPG key ID: 4502C902C00A1E12

View file

@ -32,8 +32,7 @@ WORKER_NAME=$__object_id
WORKER_APP=$(cat "$__object/parameter/app") WORKER_APP=$(cat "$__object/parameter/app")
WORKER_PORT=$(cat "$__object/parameter/port") WORKER_PORT=$(cat "$__object/parameter/port")
WORKER_RESOURCES=$(cat "$__object/parameter/resource") WORKER_RESOURCES=$(cat "$__object/parameter/resource")
export WORKER_APP WORKER_NAME WORKER_PORT WORKER_RESOURCES
export WORKER_APP WORKER_NAME WORKER_PORT
if [ -f "$__object/parameter/log-config" ]; then if [ -f "$__object/parameter/log-config" ]; then
WORKER_LOG_CONFIG=$(cat "$__object/parameter/log-config") WORKER_LOG_CONFIG=$(cat "$__object/parameter/log-config")