#!/bin/sh set -e # Automatically added by dh_installsystemd/12.1.1~bpo9+1 if [ -d /run/systemd/system ] && [ "$1" = remove ]; then deb-systemd-invoke stop 'earlyoom.service' >/dev/null || true fi # End automatically added section # Automatically added by dh_installinit/12.1.1~bpo9+1 if [ -x "/etc/init.d/earlyoom" ] && [ "$1" = remove ]; then invoke-rc.d earlyoom stop || exit 1 fi # End automatically added section