[Date Prev][Date Next]
Re: (ITS#8707) slapd: Add systemd service notification support
- To: openldap-its@OpenLDAP.org
- Subject: Re: (ITS#8707) slapd: Add systemd service notification support
- From: firstname.lastname@example.org
- Date: Tue, 12 Sep 2017 17:30:42 +0000
- Auto-submitted: auto-generated (OpenLDAP-ITS)
On Tue, Sep 12, 2017 at 05:17:11PM +0000, email@example.com wrote:
>b) The OpenLDAP project has never provided init scripts of their
>equivalents. I'm not sure it would be correct to include the systemd unit
>file as a part of the project.
An explicit design goal of systemd is that unit files should be uniform
enough that it's reasonable for upstream projects to ship them, in
contrast to init scripts where the conventions and helper scripts differ
a lot from distro to distro. (This obviously does not preclude distro
customization of the shipped unit file.)
"Part of this is that we want that unit files are supplied with
upstream, and not just added by the packager -- how it has usually been
done in the SysV world."
Of course the unit file should only be installed if the configure switch
for systemd is enabled, and I believe the latest patch does this.