Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

do not rely on systemd for Debian-related families #7

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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