Koha-clms/debian/scripts
Martin Renvoize 445b955b78
Bug 40901: (QA follow-up) Fix koha-disable --disable idempotency under set -e
koha-plack, koha-zebra, koha-indexer and koha-es-indexer all return
exit code 1 when asked to disable a service that is already disabled.
koha-disable has set -e, so this propagated as a fatal error when
koha-create called koha-disable on a freshly-created instance (where
none of the per-service configs are enabled yet).

Apply the same || true guard that koha-worker already had to the four
unconditional --disable calls. The desired postcondition (service
disabled) is achieved either way; the exit code from the sub-script
is not meaningful here.

Signed-off-by: Martin Renvoize <martin.renvoize@openfifth.co.uk>
Signed-off-by: Pedro Amorim <pedro.amorim@openfifth.co.uk>
2026-09-29 09:02:08 +00:00
..
koha-create Bug 40901: (follow-up) koha-create enables koha@<inst>.target on systemd 2026-09-29 09:01:49 +00:00
koha-create-dirs Bug 40163: (follow-up) Fix wrong GNU links and update test 2025-09-24 09:25:04 -06:00
koha-disable Bug 40901: (QA follow-up) Fix koha-disable --disable idempotency under set -e 2026-09-29 09:02:08 +00:00
koha-dump Bug 41353: koha-dump failing on mysqldump PROCESS privileges 2026-04-23 09:24:58 -06:00
koha-dump-defaults Bug 40163: (follow-up) Fix wrong GNU links and update test 2025-09-24 09:25:04 -06:00
koha-elasticsearch Bug 36550: allow defaults to be defined for koha-elasticsearch 2026-04-15 11:37:17 -06:00
koha-email-disable Bug 40163: (follow-up) Fix wrong GNU links and update test 2025-09-24 09:25:04 -06:00
koha-email-enable Bug 40163: (follow-up) Fix wrong GNU links and update test 2025-09-24 09:25:04 -06:00
koha-enable Bug 40163: (follow-up) Fix wrong GNU links and update test 2025-09-24 09:25:04 -06:00
koha-es-indexer Bug 40901: (testing follow-up) Added enable / disable to more helpers 2026-09-29 09:01:29 +00:00
koha-foreach Bug 40163: (follow-up) Fix wrong GNU links and update test 2025-09-24 09:25:04 -06:00
koha-functions.sh Bug 40901: (follow-up) sip.enabled is an anti-pattern for systemd 2026-09-29 09:01:48 +00:00
koha-generate-env Bug 40901: (QA follow-up) Quote path/option values in koha-generate-env env files 2026-09-29 09:02:04 +00:00
koha-indexer Bug 40901: (follow-up) Fix critical bugs in systemd integration 2026-09-29 09:01:33 +00:00
koha-list Bug 40163: (follow-up) Fix wrong GNU links and update test 2025-09-24 09:25:04 -06:00
koha-mysql Revert "Bug 41099: Make `koha-mysql` disable SSL if required" 2025-10-31 11:26:10 -06:00
koha-mysqlcheck Bug 40163: (follow-up) Fix wrong GNU links and update test 2025-09-24 09:25:04 -06:00
koha-passwd Bug 40163: (follow-up) Fix wrong GNU links and update test 2025-09-24 09:25:04 -06:00
koha-plack Bug 40901: (testing follow-up) Added enable / disable to more helpers 2026-09-29 09:01:29 +00:00
koha-rebuild-zebra Bug 40163: (follow-up) Fix wrong GNU links and update test 2025-09-24 09:25:04 -06:00
koha-remove Bug 40901: (follow-up) koha-remove leaves koha@<inst>.target enabled 2026-09-29 09:01:52 +00:00
koha-reset-passwd Bug 40163: (follow-up) Fix wrong GNU links and update test 2025-09-24 09:25:04 -06:00
koha-restore Bug 40163: (follow-up) Fix wrong GNU links and update test 2025-09-24 09:25:04 -06:00
koha-run-backups Bug 40163: (follow-up) Fix wrong GNU links and update test 2025-09-24 09:25:04 -06:00
koha-shell Bug 40163: (follow-up) Fix wrong GNU links and update test 2025-09-24 09:25:04 -06:00
koha-sip Bug 40901: (follow-up) sip.enabled is an anti-pattern for systemd 2026-09-29 09:01:48 +00:00
koha-sitemap Bug 40163: (follow-up) Fix wrong GNU links and update test 2025-09-24 09:25:04 -06:00
koha-translate Bug 40163: (follow-up) Fix wrong GNU links and update test 2025-09-24 09:25:04 -06:00
koha-upgrade-schema Bug 40163: (follow-up) Fix wrong GNU links and update test 2025-09-24 09:25:04 -06:00
koha-upgrade-to-3.4 Bug 40163: (follow-up) Fix wrong GNU links and update test 2025-09-24 09:25:04 -06:00
koha-worker Bug 40901: (testing follow-up) Added enable / disable to more helpers 2026-09-29 09:01:29 +00:00
koha-z3950-responder Bug 40901: (follow-up) Fix incomplete systemd wiring in helpers 2026-09-29 09:01:34 +00:00
koha-zebra Bug 40901: (testing follow-up) Added enable / disable to more helpers 2026-09-29 09:01:29 +00:00