diff --git a/debian/control b/debian/control index 7aa59b218e..84005b5c6d 100644 --- a/debian/control +++ b/debian/control @@ -3,7 +3,6 @@ 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 @@ -441,6 +440,7 @@ Description: integrated (physical) library management system . Most users should install koha-common instead, which will automatically select the appropriate init system. +Recommends: koha-systemd | koha-sysv Depends: ${misc:Depends}, ${koha:Depends}, at, cron-daemon, diff --git a/debian/control.in b/debian/control.in index 93243d8472..0df638903a 100644 --- a/debian/control.in +++ b/debian/control.in @@ -3,7 +3,6 @@ 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 @@ -105,6 +104,7 @@ Description: integrated (physical) library management system . Most users should install koha-common instead, which will automatically select the appropriate init system. +Recommends: koha-systemd | koha-sysv Depends: ${misc:Depends}, ${koha:Depends}, at, cron-daemon, diff --git a/debian/koha-systemd.dirs b/debian/koha-systemd.dirs index 8efa80f4d9..67f1eed43e 100644 --- a/debian/koha-systemd.dirs +++ b/debian/koha-systemd.dirs @@ -1 +1 @@ -usr/lib/systemd/system +lib/systemd/system diff --git a/debian/koha-systemd.install b/debian/koha-systemd.install index 2ca74958b5..1750487f60 100644 --- a/debian/koha-systemd.install +++ b/debian/koha-systemd.install @@ -1,4 +1,4 @@ -debian/systemd/*.service usr/lib/systemd/system -debian/systemd/*.target usr/lib/systemd/system +debian/systemd/*.service lib/systemd/system +debian/systemd/*.target lib/systemd/system debian/systemd/koha-systemd-ctl usr/sbin debian/scripts/koha-generate-env usr/sbin diff --git a/debian/rules b/debian/rules index 05c9eb23db..b0635e2937 100755 --- a/debian/rules +++ b/debian/rules @@ -27,7 +27,6 @@ override_dh_installlogrotate: dh_installlogrotate --remaining-packages override_dh_gencontrol: - debian/bd-to-depends >> debian/koha-common.substvars debian/bd-to-depends >> debian/koha-core.substvars dh_gencontrol