Bugzilla – Attachment 156759 Details for
Bug 23241
Remove misc/bin/koha-index-daemon-ctl.sh
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 23241: Remove unused koha-index-daemon-ctl.sh
Bug-23241-Remove-unused-koha-index-daemon-ctlsh.patch (text/plain), 3.81 KB, created by
Katrin Fischer
on 2023-10-09 19:23:01 UTC
(
hide
)
Description:
Bug 23241: Remove unused koha-index-daemon-ctl.sh
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2023-10-09 19:23:01 UTC
Size:
3.81 KB
patch
obsolete
>From eba9cc533bd350d2bec64ee35d4bd633d4d7610c Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Mon, 9 Oct 2023 11:44:06 +0100 >Subject: [PATCH] Bug 23241: Remove unused koha-index-daemon-ctl.sh > >This script was never fully promoted or documented and it requires third >party libraries are installed to use. This patch removes it from the >repository and the Makefile so it is no longer installed. > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > Makefile.PL | 1 - > misc/bin/koha-index-daemon-ctl.sh | 86 ------------------------------- > 2 files changed, 87 deletions(-) > delete mode 100755 misc/bin/koha-index-daemon-ctl.sh > >diff --git a/Makefile.PL b/Makefile.PL >index ae96f78847..274e2b269b 100644 >--- a/Makefile.PL >+++ b/Makefile.PL >@@ -703,7 +703,6 @@ push @{ $pl_files->{'rewrite-config.PL'} }, ( > ); > push @{ $pl_files->{'rewrite-config.PL'} }, ( > 'blib/SCRIPT_DIR/koha-zebra-ctl.sh', >- 'blib/SCRIPT_DIR/koha-index-daemon-ctl.sh', > ); > $config{'ZEBRA_AUTH_CFG'} = 'zebra-authorities-dom.cfg'; > $config{'ZEBRA_BIB_CFG'} = 'zebra-biblios-dom.cfg'; >diff --git a/misc/bin/koha-index-daemon-ctl.sh b/misc/bin/koha-index-daemon-ctl.sh >deleted file mode 100755 >index b974b570a8..0000000000 >--- a/misc/bin/koha-index-daemon-ctl.sh >+++ /dev/null >@@ -1,86 +0,0 @@ >-#!/bin/sh >- >-# This file is part of Koha. >-# >-# Koha is free software; you can redistribute it and/or modify it >-# under the terms of the GNU General Public License as published by >-# the Free Software Foundation; either version 3 of the License, or >-# (at your option) any later version. >-# >-# Koha is distributed in the hope that it will be useful, but >-# WITHOUT ANY WARRANTY; without even the implied warranty of >-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the >-# GNU General Public License for more details. >-# >-# You should have received a copy of the GNU General Public License >-# along with Koha; if not, see <http://www.gnu.org/licenses>. >- >-### BEGIN INIT INFO >-# Provides: koha-index-daemon-$DBNAME >-# Required-Start: $local_fs $syslog >-# Required-Stop: $local_fs $syslog >-# Default-Start: 2 3 4 5 >-# Default-Stop: 0 1 6 >-# X-Interactive: false >-# Short-Description: Start/stop koha-index-daemon for $DBNAME >-### END INIT INFO >- >-. /lib/lsb/init-functions >- >-USER=__KOHA_USER__ >-GROUP=__KOHA_GROUP__ >-DBNAME=__DB_NAME__ >-NAME=koha-index-daemon-$DBNAME >-LOGDIR=__LOG_DIR__ >-PERL5LIB="__PERL5LIB_DIRS__" >-KOHA_CONF=__KOHA_CONF_DIR__/koha-conf.xml >-ERRLOG=$LOGDIR/koha-index-daemon.err >-STDOUT=$LOGDIR/koha-index-daemon.log >-OUTPUT=$LOGDIR/koha-index-daemon-output.log >- >-export KOHA_CONF >-export PERL5LIB >- >-INDEXDAEMON="koha-index-daemon" >-INDEXDAEMON_OPTS="--timeout 30 --conf $KOHA_CONF \ >- --directory /var/tmp/koha-index-daemon-$DBNAME" >- >-DAEMONOPTS="--name=$NAME \ >- --errlog=$ERRLOG \ >- --stdout=$STDOUT \ >- --output=$OUTPUT \ >- --verbose=1 --respawn --delay=30" >- >-USER="--user=$USER.$GROUP" >- >- >-case "$1" in >- start) >- log_daemon_msg "Starting Koha indexing daemon ($DBNAME)" >- if daemon $DAEMONOPTS $USER -- $INDEXDAEMON $INDEXDAEMON_OPTS; then >- log_end_msg 0 >- else >- log_end_msg 1 >- fi >- ;; >- stop) >- log_daemon_msg "Stopping Koha indexing daemon ($DBNAME)" >- if daemon $DAEMONOPTS $USER --stop -- $INDEXDAEMON $INDEXDAEMON_OPTS; then >- log_end_msg 0 >- else >- log_end_msg 1 >- fi >- ;; >- restart) >- log_daemon_msg "Restarting the Koha indexing daemon ($DBNAME)" >- if daemon $DAEMONOPTS $USER --restart -- $INDEXDAEMON $INDEXDAEMON_OPTS; then >- log_end_msg 0 >- else >- log_end_msg 1 >- fi >- ;; >- *) >- log_success_msg "Usage: /etc/init.d/$NAME {start|stop|restart}" >- exit 1 >- ;; >-esac >-- >2.30.2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 23241
:
156730
| 156759