summaryrefslogtreecommitdiffstats
path: root/debian/apache2.prerm
blob: cde34dadfafd88784e27b35b5a26a149e19cf848 (plain)
1
2
3
4
5
6
7
8
9
#!/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

#DEBHELPER#