diff --git a/debian/control b/debian/control index ee733ff5d5..421149203c 100644 --- a/debian/control +++ b/debian/control @@ -3,6 +3,7 @@ Maintainer: Mason James Section: web Priority: optional Standards-Version: 3.8.4 +# koha-systemd package provides systemd units only # WARNING: The "control" file is automatically generated from the "control.in" file. # Do not manually edit "control" or your changes will be clobbered when you # run update-control @@ -166,7 +167,6 @@ Build-Depends: libalgorithm-checkdigits-perl, libuniversal-require-perl, liburi-perl, libuuid-perl, - libwebservice-ils-perl, libwww-csrf-perl, libwww-perl, libxml-dumper-perl, @@ -184,26 +184,14 @@ Build-Depends: libalgorithm-checkdigits-perl, Package: koha-common Architecture: all -Depends: ${misc:Depends}, ${koha:Depends}, +Depends: ${misc:Depends}, + koha-core, + koha-systemd | koha-sysv, apache2, apache2-mpm-itk | libapache2-mpm-itk, - at, - cron-daemon, - daemon, - debconf, idzebra-2.0, - koha-l10n, memcached, - mysql-client | virtual-mysql-client, - perl-doc, - pwgen, - rabbitmq-server, - sudo, - fonts-dejavu | ttf-dejavu, - unzip, - weasyprint, - xmlstarlet, - yaz + rabbitmq-server Suggests: mysql-server | virtual-mysql-server, letsencrypt, Homepage: http://koha-community.org/ @@ -211,8 +199,9 @@ Description: integrated (physical) library management system Koha is an Integrated Library Management system for real-world libraries (the kinds with books). . - This package contains everything needed to run Koha, except the site - specific configuration files. See the package koha for the rest. + This metapackage installs the complete Koha system with all dependencies. + On systemd-based systems, it will use native systemd units (koha-systemd). + On other systems or containers, it will use SysV init scripts (koha-sysv). Package: koha Architecture: all @@ -418,7 +407,6 @@ Depends: libalgorithm-checkdigits-perl, libuniversal-require-perl, liburi-perl, libuuid-perl, - libwebservice-ils-perl, libwww-csrf-perl, libwww-perl, libxml-dumper-perl, @@ -445,14 +433,15 @@ Description: integrated (physical) library management system Koha is an Integrated Library Management system for real-world libraries (the kinds with books). . - This package provides a version of Koha identical to that of koha-full, - but without third-party systems such as MariaDB, RabbitMQ, et cetera. + This package provides the core Koha application files, scripts, and + configuration without any init system. It requires either koha-sysv or + koha-systemd to manage services. . - This package is EXPERIMENTAL and not recommended for production use. + Most users should install koha-common instead, which will automatically + select the appropriate init system. Depends: ${misc:Depends}, ${koha:Depends}, at, cron-daemon, - daemon, debconf, koha-l10n, mysql-client | virtual-mysql-client, @@ -484,3 +473,36 @@ Description: integrated (physical) library management system systems such as MariaDB, RabbitMQ, et cetera. . This package is EXPERIMENTAL and not recommended for production use. + +Package: koha-systemd +Architecture: all +Depends: ${misc:Depends}, systemd, koha-core +Provides: koha-init +Conflicts: koha-sysv +Description: systemd units for Koha ILS + Koha is an Integrated Library Management system for real-world libraries + (the kinds with books). + . + This package provides native systemd service units for managing Koha + instances. Each service type (Plack, Zebra, SIP, Z3950, workers, indexers) + is managed as a separate systemd unit using instance templates. + . + This allows granular control over individual services per instance and + leverages systemd features like dependency management, resource limits, + and journald logging. + +Package: koha-sysv +Architecture: all +Depends: ${misc:Depends}, daemon, koha-core +Provides: koha-init +Conflicts: koha-systemd +Description: SysV init scripts for Koha ILS + Koha is an Integrated Library Management system for real-world libraries + (the kinds with books). + . + This package provides traditional SysV init.d scripts for managing Koha + instances. All services (Plack, Zebra, SIP, Z3950, workers, indexers) are + managed through a single init script using the daemon wrapper. + . + This package is intended for legacy systems, containers without systemd + (like KTD), or environments where SysV init is preferred.