[Koha-bugs] [Bug 18250] koha-common should start after memcached

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri May 25 19:52:24 CEST 2018


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18250

--- Comment #15 from Mirko Tietgen <mirko at abunchofthings.net> ---
Testplan does not work apply to systemd. However the patch still works, systemd
generates a target file

/run/systemd/generator.late/multi-user.target.wants/koha-common.service

Without patches

># Automatically generated by systemd-sysv-generator
>
>[Unit]
>Documentation=man:systemd-sysv-generator(8)
>SourcePath=/etc/init.d/koha-common
>Description=LSB: Start required services for each Koha instance
>Before=multi-user.target
>Before=multi-user.target
>Before=multi-user.target
>Before=graphical.target
>After=remote-fs.target

[…]

With the patches applied I get

># Automatically generated by systemd-sysv-generator
>
>[Unit]
>Documentation=man:systemd-sysv-generator(8)
>SourcePath=/etc/init.d/koha-common
>Description=LSB: Start required services for each Koha instance
>Before=multi-user.target
>Before=multi-user.target
>Before=multi-user.target
>Before=graphical.target
>After=remote-fs.target
>After=memcached.service

[…]

which means the patches do what they are supposed to do.

I don't know if we have an official policy regarding SysVinit vs. systemd. As
far as I can see we rely on the backwards compatibility provided by systemd in
other places too.

I'll send a signoff and consider to bundle it together with bug 17311 for a
18.05.00-2 release.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list