[Koha-bugs] [Bug 27844] koha-worker systemd service should run as %i-koha in package install
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue May 11 01:12:12 CEST 2021
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27844
Victor Grousset/tuxayo <victor at tuxayo.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #117552|0 |1
is obsolete| |
--- Comment #11 from Victor Grousset/tuxayo <victor at tuxayo.net> ---
Created attachment 120817
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=120817&action=edit
Bug 27844: Launch koha-worker systemd service as koha linux user
This patch adds the User directive to the koha-worker systemd unit file
Test plan:
0a. DO NOT APPLY PATCH YET
0b. Start a Koha testing environment running systemd
1. koha-worker --stop kohadev
2. cp debian/templates/koha-worker at .service /etc/systemd/system/.
3. systemctl start koha-worker at kohadev.service
4. ps -efww | grep "background_jobs_worker"
5. Note koha-worker is running as root
6. APPLY THE PATCH
7. cp debian/templates/koha-worker at .service /etc/systemd/system/.
8. systemctl daemon-reload
9. systemctl restart koha-worker at kohadev.service
10. ps -efww | grep "background_jobs_worker"
11. Note that koha-worker is now running as kohadev-koha
Signed-off-by: Victor Grousset/tuxayo <victor at tuxayo.net>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list