Koha-clms/debian
Nick Clemens 019791238a
Bug 33108: (follow-up) Don't let restart die if ES indexer not running
This fixes the restart action in koha-common to continue with starting
services even if the last service cannot be stopped (because it may not
be running)

This needs a larger fix, to ensure all stopped services return a
warning, for now 'do_stop' simply returns the last success/failure

To test:
1 - Apply patch
2 - reset_all
3 - sudo koha-es-indexer --stop kohadev
4 - restart_all
5 - You are notified that ES indexer was not running
6 - You are notified that soem services could not be stopped
7 - The services are started

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 02392b0c2b)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
2023-05-03 13:11:15 +01:00
..
docs Bug 33108: Teach koha-list filter elasticsearch 2023-05-03 13:11:15 +01:00
scripts Bug 33108: Make init handle koha-es-indexer 2023-05-03 13:11:15 +01:00
source Bug 32994: Remove compiled files from src (2) 2023-02-24 11:34:01 +00:00
templates Bug 32992: Move background_jobs_worker to misc/workers 2023-05-03 13:06:48 +01:00
README.build
…
bd-to-depends
…
build-git-snapshot Bug 21000: Force case sensitivity on Getopt::Long 2019-07-15 11:27:57 +01:00
changelog Bug 32666: Buildbot 22.11.01 for stretch: update debian/changelog 2023-01-20 13:39:44 +00:00
clean Bug 32994: Remove compiled files from src (2) 2023-02-24 11:34:01 +00:00
compat Bug 18908: Warning "Compatibility levels before 9 are deprecated" 2018-03-19 13:55:47 -03:00
control Bug 32666: Update control file: 22.11.01 on deb9 (7411fce6) 2023-01-20 13:43:32 +00:00
control.in Bug 27315: use the namespace-aware docbook stylesheet 2022-10-17 21:10:06 -03:00
copyright Bug 24545: Fix license statements 2020-02-24 13:31:26 +00:00
koha-common.README.Debian
…
koha-common.bash-completion Bug 33108: Teach koha-list filter elasticsearch 2023-05-03 13:11:15 +01:00
koha-common.config
…
koha-common.cron.d
…
koha-common.cron.daily Bug 19532: (QA follow-up) Add the cron jobs to the cron files 2022-03-14 22:45:52 -10:00
koha-common.cron.hourly Bug 23207: Add automatic checkin feature 2021-04-22 11:11:05 +02:00
koha-common.cron.monthly
…
koha-common.default
…
koha-common.dirs
…
koha-common.docs Bug 21626: (QA follow-up) Embed teams.yaml for debian packages 2019-05-17 14:46:10 +00:00
koha-common.init Bug 33108: (follow-up) Don't let restart die if ES indexer not running 2023-05-03 13:11:15 +01:00
koha-common.install Bug 33108: koha-es-indexer added 2023-05-03 13:11:14 +01:00
koha-common.links Bug 22238: Remove koha-*-sip scripts in favor of koha-sip 2019-02-11 18:30:10 +00:00
koha-common.logrotate
…
koha-common.postinst Bug 32612: (QA follow-up) Remove more unneeded appender lines 2023-02-06 15:54:49 +00:00
koha-common.preinst Bug 25485: Remove tiny_mce symlink during pre install of deb package 2020-05-20 09:15:13 +01:00
koha-common.templates
…
koha-core.bash-completion Bug 33108: Teach koha-list filter elasticsearch 2023-05-03 13:11:15 +01:00
koha-core.config Bug 26672: Add additional koha-core and koha-full files to ./debian 2020-11-25 16:18:03 +01:00
koha-core.default Bug 26672: Add additional koha-core and koha-full files to ./debian 2020-11-25 16:18:03 +01:00
koha-core.dirs Bug 26672: Add additional koha-core and koha-full files to ./debian 2020-11-25 16:18:03 +01:00
koha-core.docs Bug 26672: Add additional koha-core and koha-full files to ./debian 2020-11-25 16:18:03 +01:00
koha-core.init Bug 32922: (follow-up) Fix two additional occurences 2023-02-24 07:51:48 +00:00
koha-core.install Bug 33108: koha-es-indexer added 2023-05-03 13:11:14 +01:00
koha-core.links Bug 26672: Add additional koha-core and koha-full files to ./debian 2020-11-25 16:18:03 +01:00
koha-core.logrotate Bug 26672: Add additional koha-core and koha-full files to ./debian 2020-11-25 16:18:03 +01:00
koha-core.postinst Bug 32612: (QA follow-up) Remove more unneeded appender lines 2023-02-06 15:54:49 +00:00
koha-core.preinst Bug 26672: Add additional koha-core and koha-full files to ./debian 2020-11-25 16:18:03 +01:00
koha-core.templates Bug 26672: Add additional koha-core and koha-full files to ./debian 2020-11-25 16:18:03 +01:00
koha-full.postinst Bug 26672: Add additional koha-core and koha-full files to ./debian 2020-11-25 16:18:03 +01:00
koha-post-install-setup
…
koha.README.Debian
…
koha.apache-ports
…
koha.config
…
koha.dirs
…
koha.install Bug 14302: Remove GRS1 specific code 2018-08-31 11:24:20 +00:00
koha.postinst
…
koha.postrm
…
koha.prerm
…
list-deps Bug 29882: remove unrequired package definitions in list-deps script 2022-09-07 13:17:59 -07:00
rules Bug 33168: (follow-up) Swap spaces for tabs 2023-04-16 18:11:54 +01:00
unavailable.html
…
update-control
…

README.build

In order to build .deb packages, following debian packages need to be present
(installed): 
devscripts
pbuilder
dh-make
fakeroot

As root (or sudo) execute:
pbuilder create

Executing build-git-snapshot without any arguments will leave package and the
rest in some pbuilder dir, eg. /var/cache/pbuilder/result It is highly
recommended that --buildresult option is used.