• Otto Kekäläinen's avatar
    Deb: Add manually dh_systemd_start snippets · 69964c44
    Otto Kekäläinen authored
    These do now show up automatically due to init and systemd customizations,
    so the handiest fix is to add them manually. This has been the praxis
    in downstream MariaDB packaging for a couple years now, and works fine.
    
    - Ensure service is loaded and started after installation,
      (fixes service start issues in Debian/Ubuntu upgrades where
      otherwise service mysql status stayed stopped)
    
    - Ensure service stopped before removal/purge
      (fixes unstopped processes detected by piuparts)
    
    - Ensure systemd daemon is reloaded after removal/purge when service
      has been removed
    69964c44
mariadb-server-10.5.postinst 10.4 KB