From 75462fd7de14287e463421105f32038695ffc145 Mon Sep 17 00:00:00 2001 From: Jonathan Bauer Date: Fri, 13 Oct 2017 16:03:42 +0200 Subject: [dnbd3-proxy-mode] SLX_BGR for bg replication --- .../data/opt/openslx/scripts/systemd-setup_dnbd3_proxy | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'core/modules/dnbd3-proxy-mode') diff --git a/core/modules/dnbd3-proxy-mode/data/opt/openslx/scripts/systemd-setup_dnbd3_proxy b/core/modules/dnbd3-proxy-mode/data/opt/openslx/scripts/systemd-setup_dnbd3_proxy index 7b9a94b6..1d5d2de2 100755 --- a/core/modules/dnbd3-proxy-mode/data/opt/openslx/scripts/systemd-setup_dnbd3_proxy +++ b/core/modules/dnbd3-proxy-mode/data/opt/openslx/scripts/systemd-setup_dnbd3_proxy @@ -49,6 +49,8 @@ fi # Using the information given by the server in /opt/openslx/config . /opt/openslx/config +DNBD3_BGR="false" +[ -n "${SLX_DNBD3_BGR}" ] && DNBD3_BGR="true" DNBD3_PORT=5003 rm -f "${DNBD3_CONF_DIR}/server.conf" # Refer to http://git.openslx.org/dnbd3.git/tree/conf for configuration options @@ -59,7 +61,7 @@ basePath=${DNBD3_DATA_DIR} serverPenalty=100000 clientPenalty=0 isProxy=true -backgroundReplication=false +backgroundReplication=${DNBD3_BGR} removeMissingImages=false uplinkTimeout=1250 clientTimeout=15000 -- cgit v1.2.3-55-g7522