Skip to content

Conversation

@vincentbernat
Copy link
Contributor

On Debian, systemd is not mandatory, so people could still use SysV
init scripts. Moreover, the "service" commands handle both cases. On
Ubuntu, systemd is mandatory since 16.04. However, the integration
with SysV still exist and the conserver package is unmodified compared
to Debian and only ships a SysV init script.

Moreover, the override was done in /usr/lib/systemd/system, a
directory not existing on most Debian systems.

Instead, we keep acting like everyone was using SysV init and let the
appropriate compatibility bits in the distribution handle the
differences.

Fix #6.

Wait for acceptances test to run, I did not run them. Also, I do not use this branch myself as I am running a too old version of Puppet, but I tested the same change on an older version with Ubuntu 12.04, 16.04 and 18.04. Debian packaging is unmodified between Ubuntu and Debian.

On Debian, systemd is not mandatory, so people could still use SysV
init scripts. Moreover, the "service" commands handle both cases. On
Ubuntu, systemd is mandatory since 16.04. However, the integration
with SysV still exist and the conserver package is unmodified compared
to Debian and only ships a SysV init script.

Moreover, the override was done in /usr/lib/systemd/system, a
directory not existing on most Debian systems.

Instead, we keep acting like everyone was using SysV init and let the
appropriate compatibility bits in the distribution handle the
differences.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant