From a6e4a8c17590322904945c38378736c487bfa95d Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Tue, 28 Jan 2025 15:02:32 +0000 Subject: [PATCH] Bug 36954: Adjust logfiles in koha-sip No need for three files here (and badly specified). We can just use sip.log. Test plan: Run koha-sip and verify that logging is still done as expected. Signed-off-by: Marcel de Rooy Signed-off-by: Nick Clemens --- debian/scripts/koha-sip | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/debian/scripts/koha-sip b/debian/scripts/koha-sip index 3372e01d953..aca6cac6ba7 100755 --- a/debian/scripts/koha-sip +++ b/debian/scripts/koha-sip @@ -77,9 +77,7 @@ start_sip() fi DAEMONOPTS="--name=${name}-koha-sip \ - --errlog=/var/log/koha/${name}/sip-error.log \ - --stdout=/var/log/koha/${name}/sip.log \ - --output=/var/log/koha/${name}/sip-output.log \ + --output=/var/log/koha/${name}/sip.log \ --verbose=1 \ --respawn \ --delay=30 \ @@ -117,9 +115,7 @@ stop_sip() if is_sip_running $name; then DAEMONOPTS="--name=${name}-koha-sip \ - --errlog=/var/log/koha/${name}/sip-error.log \ - --stdout=/var/log/koha/${name}/sip.log \ - --output=/var/log/koha/${name}/sip-output.log \ + --output=/var/log/koha/${name}/sip.log \ --verbose=1 \ --respawn \ --delay=30 \ @@ -231,9 +227,7 @@ _check_and_fix_perms() { local name=$1 - local files="/var/log/koha/${name}/sip-error.log \ - /var/log/koha/${name}/sip.log \ - /var/log/koha/$name/sip-output.log" + local files="/var/log/koha/${name}/sip.log" for file in ${files} do -- 2.39.5