From 6b1c0bec62a8ab060f7c1aa51c94e32dcbe429fa Mon Sep 17 00:00:00 2001 From: zegeek Date: Thu, 25 Jan 2024 15:03:34 +0100 Subject: [PATCH] app-admin/schaufel: add missing replication option in init script --- app-admin/bagger-tools/files/schaufel_listener-0.3.initd | 3 +++ app-admin/bagger-tools/files/schaufel_listener-0.4.initd | 3 +++ app-admin/bagger-tools/files/schaufel_listener-0.5.initd | 3 +++ app-admin/bagger-tools/files/schaufel_listener-0.7.initd | 3 +++ 4 files changed, 12 insertions(+) diff --git a/app-admin/bagger-tools/files/schaufel_listener-0.3.initd b/app-admin/bagger-tools/files/schaufel_listener-0.3.initd index 5fbec3db..33f7bfcf 100755 --- a/app-admin/bagger-tools/files/schaufel_listener-0.3.initd +++ b/app-admin/bagger-tools/files/schaufel_listener-0.3.initd @@ -43,6 +43,9 @@ fi LISTENER_OPTS+=" -h ${HOSTNAME_OVERRIDE}" [ -n "${LISTENER_JOBS}" ] && \ LISTENER_OPTS+=" -j ${LISTENER_JOBS}" +[ -n "${LISTENER_REPLICATION}" ] && \ + LISTENER_OPTS+=" -r ${LISTENER_REPLICATION}" + command=/usr/bin/listener.pl command_args="${LISTENER_OPTS}" diff --git a/app-admin/bagger-tools/files/schaufel_listener-0.4.initd b/app-admin/bagger-tools/files/schaufel_listener-0.4.initd index 5fbec3db..33f7bfcf 100755 --- a/app-admin/bagger-tools/files/schaufel_listener-0.4.initd +++ b/app-admin/bagger-tools/files/schaufel_listener-0.4.initd @@ -43,6 +43,9 @@ fi LISTENER_OPTS+=" -h ${HOSTNAME_OVERRIDE}" [ -n "${LISTENER_JOBS}" ] && \ LISTENER_OPTS+=" -j ${LISTENER_JOBS}" +[ -n "${LISTENER_REPLICATION}" ] && \ + LISTENER_OPTS+=" -r ${LISTENER_REPLICATION}" + command=/usr/bin/listener.pl command_args="${LISTENER_OPTS}" diff --git a/app-admin/bagger-tools/files/schaufel_listener-0.5.initd b/app-admin/bagger-tools/files/schaufel_listener-0.5.initd index 5fbec3db..33f7bfcf 100755 --- a/app-admin/bagger-tools/files/schaufel_listener-0.5.initd +++ b/app-admin/bagger-tools/files/schaufel_listener-0.5.initd @@ -43,6 +43,9 @@ fi LISTENER_OPTS+=" -h ${HOSTNAME_OVERRIDE}" [ -n "${LISTENER_JOBS}" ] && \ LISTENER_OPTS+=" -j ${LISTENER_JOBS}" +[ -n "${LISTENER_REPLICATION}" ] && \ + LISTENER_OPTS+=" -r ${LISTENER_REPLICATION}" + command=/usr/bin/listener.pl command_args="${LISTENER_OPTS}" diff --git a/app-admin/bagger-tools/files/schaufel_listener-0.7.initd b/app-admin/bagger-tools/files/schaufel_listener-0.7.initd index 5fbec3db..33f7bfcf 100755 --- a/app-admin/bagger-tools/files/schaufel_listener-0.7.initd +++ b/app-admin/bagger-tools/files/schaufel_listener-0.7.initd @@ -43,6 +43,9 @@ fi LISTENER_OPTS+=" -h ${HOSTNAME_OVERRIDE}" [ -n "${LISTENER_JOBS}" ] && \ LISTENER_OPTS+=" -j ${LISTENER_JOBS}" +[ -n "${LISTENER_REPLICATION}" ] && \ + LISTENER_OPTS+=" -r ${LISTENER_REPLICATION}" + command=/usr/bin/listener.pl command_args="${LISTENER_OPTS}"