From bc72184de5d000f1fdc667f6a576a4ce584f450e Mon Sep 17 00:00:00 2001 From: Mason James Date: Fri, 2 Jun 2023 00:49:27 +1200 Subject: [PATCH] Bug 33371: Add [Install] section to koha-common.service to test: 1/ install pkg, reboot, note service is not 'active' 2/ add patch, build package 3/ install pkg, reboot, note service is 'active' :) root@deb11:/etc# systemctl status koha-common * koha-common.service - Start required services for each Koha instance Loaded: loaded (/etc/init.d/koha-common; enabled; vendor preset: enabled) <<<< Active: active (exited) since Thu 2023-06-01 12:45:08 UTC; 13min ago Tasks: 0 (limit: 2244) Memory: 0B CPU: 0 CGroup: /system.slice/koha-common.service Jun 01 12:45:08 deb11 systemd[1]: Starting Start required services for each Koha instance... Signed-off-by: Andrew Nugged Signed-off-by: Tomas Cohen Arazi --- debian/koha-common.service | 3 +++ 1 file changed, 3 insertions(+) diff --git a/debian/koha-common.service b/debian/koha-common.service index 0cad4b2832..029890b3c6 100644 --- a/debian/koha-common.service +++ b/debian/koha-common.service @@ -20,3 +20,6 @@ RemainAfterExit=yes SuccessExitStatus=5 6 ExecStart=/etc/init.d/koha-common start ExecStop=/etc/init.d/koha-common stop + +[Install] +WantedBy=multi-user.target -- 2.39.5