From 20bd7f851f321c6089b35a629e26b3be3f968362 Mon Sep 17 00:00:00 2001 From: MJ Ray Date: Mon, 20 Jun 2011 17:43:49 +0100 Subject: [PATCH] Added LSB information and copyright headers to two scripts in misc/bin. Thanks to Mahesh T Pai for the mailing list post Message-ID: <87y60x10de.fsf@gmail.com> containing them. http://bugs.koha-community.org/show_bug.cgi?id=4406 Signed-off-by: Magnus Enger Signed-off-by: Chris Cormack --- misc/bin/koha-pazpar2-ctl.sh | 25 +++++++++++++++++++++++++ misc/bin/koha-zebra-ctl.sh | 25 +++++++++++++++++++++++++ 2 files changed, 50 insertions(+) diff --git a/misc/bin/koha-pazpar2-ctl.sh b/misc/bin/koha-pazpar2-ctl.sh index c89470236c..bcedfea8c8 100755 --- a/misc/bin/koha-pazpar2-ctl.sh +++ b/misc/bin/koha-pazpar2-ctl.sh @@ -1,4 +1,29 @@ #!/bin/bash + +# 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 2 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, write to the Free Software Foundation, Inc., 59 Temple Place, +# Suite 330, Boston, MA 02111-1307 USA + +### BEGIN INIT INFO +# Provides: koha-pazpar-daemon +# Required-Start: $syslog $remote_fs +# Required-Stop: $syslog $remote_fs +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +# Short-Description: PazPar2 server daemon for Koha +### END INIT INFO + USER=__KOHA_USER__ GROUP=__KOHA_GROUP__ DBNAME=__DB_NAME__ diff --git a/misc/bin/koha-zebra-ctl.sh b/misc/bin/koha-zebra-ctl.sh index 01e4fad458..397eb19c6e 100755 --- a/misc/bin/koha-zebra-ctl.sh +++ b/misc/bin/koha-zebra-ctl.sh @@ -1,4 +1,29 @@ #!/bin/bash + +# 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 2 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, write to the Free Software Foundation, Inc., 59 Temple Place, +# Suite 330, Boston, MA 02111-1307 USA + +### BEGIN INIT INFO +# Provides: koha-zebra-daemon +# Required-Start: $syslog $remote_fs +# Required-Stop: $syslog $remote_fs +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +# Short-Description: Zebra server daemon for Koha indexing +### END INIT INFO + USER=__KOHA_USER__ GROUP=__KOHA_GROUP__ DBNAME=__DB_NAME__ -- 2.39.5