Koha-clms/debian
Martin Renvoize 1a81cf9bc7
Bug 40901: (QA follow-up) Polish the per-component units
- Order services Before= their instance target instead of After=. With
  After=, koha@<inst>.target (and therefore koha.target) reported active
  before a single daemon had started, so its state meant nothing to
  anything ordered after Koha. koha@.target is likewise Before=koha.target.
- Add SyslogIdentifier=%i-koha-<service> to every unit so journal lines
  can be filtered per instance and component (the template this series
  removed already did this) and Documentation= pointing at each helper's
  man page.
- koha-plack@: stop with SIGQUIT and a 30s timeout. Starman treats QUIT
  as graceful shutdown and TERM as immediate; the SysV path used
  QUIT/30/KILL/5, so the default SIGTERM cut in-flight requests on every
  restart. Drop the redundant --user/--group starman flags, User=/Group=
  already apply.
- koha-worker@, koha-worker-long_tasks@: KillMode=mixed with a 120s
  timeout so the parent is signalled but a running forked job gets a
  chance to finish before it is killed.
- koha-zebra@: remove every *socket file in the run directory rather
  than the two default names, so sites with customised <listen> entries
  get the same stale-socket protection.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
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:32 +00:00
..
docs Bug 32736: Add --all-queues switch to koha-worker 2026-01-12 10:26:06 -07:00
scripts Bug 40901: (QA follow-up) Make koha-common.service a dependency-free shim 2026-09-29 09:02:30 +00:00
source Bug 32994: Remove compiled files from src (2) 2023-02-22 10:03:25 -03:00
systemd Bug 40901: (QA follow-up) Polish the per-component units 2026-09-29 09:02:32 +00:00
templates Bug 40901: (QA follow-up) Remove redundant unit files ( koha-sysv.service, koha-worker@.service ) 2026-09-29 09:02:13 +00:00
README.build
…
bd-to-depends
…
build-git-snapshot Bug 40163: (follow-up) Fix wrong GNU links and update test 2025-09-24 09:25:04 -06:00
changelog Update debian/changelog file: 22.12.00-3 2023-02-20 09:44:12 -03:00
clean Bug 32994: Remove compiled files from src (2) 2023-02-22 10:03:25 -03:00
compat
…
control Bug 40901: (QA follow-up) Install units to /lib/systemd/system and tidy control 2026-09-29 09:02:28 +00:00
control.in Bug 40901: (QA follow-up) Install units to /lib/systemd/system and tidy control 2026-09-29 09:02:28 +00:00
copyright Bug 40163: (follow-up) Fix wrong GNU links and update test 2025-09-24 09:25:04 -06:00
koha-common.README.Debian
…
koha-common.docs Bug 35713: Remove outdated debian/docs/LEEME.Debian file 2024-01-11 12:10:45 +01:00
koha-common.maintscript Bug 40901: (QA follow-up) Keep /etc conffiles under their koha-common names 2026-09-29 09:02:24 +00:00
koha-common.postinst Bug 40901: (QA follow-up) Restore the RabbitMQ and memcached steps in koha-common.postinst 2026-09-29 09:02:25 +00:00
koha-common.preinst Bug 40901: (testing follow-up) Remove / rename koha-common to koha-core 2026-09-29 09:01:25 +00:00
koha-core.bash-completion Bug 40901: (testing follow-up) Remove / rename koha-common to koha-core 2026-09-29 09:01:25 +00:00
koha-core.config Bug 40901: (QA follow-up) Migrate debconf answers from koha-common to koha-core 2026-09-29 09:02:26 +00: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 35713: Remove outdated debian/docs/LEEME.Debian file 2024-01-11 12:10:45 +01:00
koha-core.install Bug 33108: koha-es-indexer added 2023-03-20 09:39:45 -03:00
koha-core.koha-common.cron.d Bug 40901: (QA follow-up) Keep /etc conffiles under their koha-common names 2026-09-29 09:02:24 +00:00
koha-core.koha-common.cron.daily Bug 40901: (QA follow-up) Keep /etc conffiles under their koha-common names 2026-09-29 09:02:24 +00:00
koha-core.koha-common.cron.hourly Bug 40901: (QA follow-up) Keep /etc conffiles under their koha-common names 2026-09-29 09:02:24 +00:00
koha-core.koha-common.cron.monthly Bug 40901: (QA follow-up) Keep /etc conffiles under their koha-common names 2026-09-29 09:02:24 +00:00
koha-core.koha-common.default Bug 40901: (QA follow-up) Keep /etc conffiles under their koha-common names 2026-09-29 09:02:24 +00:00
koha-core.koha-common.logrotate Bug 40901: (QA follow-up) Keep /etc conffiles under their koha-common names 2026-09-29 09:02:24 +00:00
koha-core.links Bug 40901: (QA follow-up) Keep /etc conffiles under their koha-common names 2026-09-29 09:02:24 +00:00
koha-core.maintscript Bug 40901: (QA follow-up) Keep /etc conffiles under their koha-common names 2026-09-29 09:02:24 +00:00
koha-core.postinst Bug 40901: (QA follow-up) Keep /etc conffiles under their koha-common names 2026-09-29 09:02:24 +00:00
koha-core.preinst Bug 40901: (QA follow-up) Keep /etc conffiles under their koha-common names 2026-09-29 09:02:24 +00: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 40901: (QA follow-up) Restore the RabbitMQ and memcached steps in koha-common.postinst 2026-09-29 09:02:25 +00:00
koha-post-install-setup Bug 40163: (follow-up) Fix wrong GNU links and update test 2025-09-24 09:25:04 -06:00
koha-systemd.README.Debian Bug 40901: Add koha-systemd package with native systemd units 2026-09-29 09:01:21 +00:00
koha-systemd.dirs Bug 40901: (QA follow-up) Install units to /lib/systemd/system and tidy control 2026-09-29 09:02:28 +00:00
koha-systemd.install Bug 40901: (QA follow-up) Install units to /lib/systemd/system and tidy control 2026-09-29 09:02:28 +00:00
koha-systemd.postinst Bug 40901: (QA follow-up) Don't stop all Koha services on every koha-systemd upgrade 2026-09-29 09:02:15 +00:00
koha-systemd.prerm Bug 40901: Add koha-systemd package with native systemd units 2026-09-29 09:01:21 +00:00
koha-sysv.koha-common.init Bug 40901: (QA follow-up) Install the SysV init script through dh_installinit 2026-09-29 09:02:22 +00:00
koha-sysv.postinst Bug 40901: (QA follow-up) Install the SysV init script through dh_installinit 2026-09-29 09:02:22 +00:00
koha.README.Debian
…
koha.apache-ports
…
koha.config
…
koha.dirs
…
koha.install
…
koha.postinst Bug 25691: Replace link to non-existing README with wiki link 2024-01-16 12:06:08 +01:00
koha.postrm
…
koha.prerm
…
list-deps Bug 40163: (follow-up) Fix wrong GNU links and update test 2025-09-24 09:25:04 -06:00
rules Bug 40901: (QA follow-up) Install units to /lib/systemd/system and tidy control 2026-09-29 09:02:28 +00: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.