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

DEB: disable service on purge instead of removal, restart on upgrade #218

Merged
merged 2 commits into from
Feb 17, 2024

Commits on Feb 16, 2024

  1. DEB: disable service on purge instead of removal, restart on upgrade

    systemctl refuses to disable inexistent units. deb-systemd-helper can do the job for us, preserving
    enablement state on removal.
    
    try-restart on upgrade is problematic because if the package is removed without purge, the next install is
    considered an upgrade as the version is still passed as postinst's second command line argument, leading to a
    stopped service. Let's just restart unconditionally. DEB package will diverge slightly from RPM in this
    regard.
    marcosfrm committed Feb 16, 2024
    Configuration menu
    Copy the full SHA
    6fe2ade View commit details
    Browse the repository at this point in the history

Commits on Feb 17, 2024

  1. DEB: update comment

    marcosfrm committed Feb 17, 2024
    Configuration menu
    Copy the full SHA
    fe6fc84 View commit details
    Browse the repository at this point in the history