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

debian package: fix installation issues on systems having systemd installed but not running it as init. #4242

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

Commits on Nov 28, 2023

  1. debian package: fix installation issues on systems having systemd ins…

    …talled but not running it as init.
    
    Instead of checking for the existence of systemd binaries check for actually running systemd,
    as seen by the reference result when using dh_installsystemd:
    
    \# Automatically added by dh_installsystemd/13.11.4
    if [ -z "${DPKG_ROOT:-}" ] && [ "$1" = upgrade ] && [ -d /run/systemd/system ] ; then
    	deb-systemd-invoke stop 'opensearch.service' >/dev/null || true
    fi
    \# End automatically added section
    dionysius committed Nov 28, 2023
    Configuration menu
    Copy the full SHA
    295f1a8 View commit details
    Browse the repository at this point in the history