]> git.koha-community.org Git - koha.git/commit
Bug 32992: Move background_jobs_worker to misc/workers
authorNick Clemens <nick@bywatersolutions.com>
Fri, 17 Feb 2023 12:00:49 +0000 (12:00 +0000)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Wed, 3 May 2023 12:06:48 +0000 (13:06 +0100)
commit3f386d25731206d100f8f5c580f311460e76e6a6
tree099fbab1058851decb207957ae694f1ffc0d5d9d
parentab7021195e15f94f77906c4190a7fd004e945d17
Bug 32992: Move background_jobs_worker to misc/workers

On bug 32594 we are adding a new worker, dedicated to Elastic indexing.
We should have a common place for workers, and we agreed on misc/workers

To test:
1 - Apply patch
2 - reset_all in koha testing docker
3 - ps aux | grep background
4 - Confirm the workers are running, and running in the new directory
5 - Perform a batch item modification
6 - Ensure the job is processed by the worker

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 4c51596a4b3a514adc4b6eccb3fd2c1fa4660a61)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
debian/scripts/koha-worker
debian/templates/koha-worker@.service
etc/koha-worker.service
misc/background_jobs_worker.pl [deleted file]
misc/workers/background_jobs_worker.pl [new file with mode: 0755]